Difference between revisions of "Page Logic - Web Forms"

From SmartWiki
Jump to: navigation, search
 
Line 1: Line 1:
Page logic section is used to specify visibility condition for the page. Visibility conditions are based on responses to previous questions.  
+
Page logic section is used to specify visibility condition for a page. Visibility conditions are based on responses to questions asked in earlier pages.  
  
 
'''Example,'''
 
'''Example,'''
  
We create three pages with one question per page. <br/>
+
<strong>We create three pages with one question per page. <br/></strong>
 
[[Image:WebForm1.png]]
 
[[Image:WebForm1.png]]
  
Page 1 has variable name Papers and the question asked may have one of two responses 'Yes' or 'No'.<br/>
+
<strong>Page 1 has variable name Papers and the question asked may have one of two responses 'Yes' or 'No'.<br/></strong>
  
 
[[Image:WebForm2.png]]
 
[[Image:WebForm2.png]]
  
Page 2 will appear if value stored in the variable(or response to question on Page 1)Papers is 'Yes'. The condition is specified as follows:
+
<strong>Page 2 will appear if value stored in the variable(or response to question on Page 1)Papers is 'Yes'. The condition is specified as follows:</strong>
  
  
 
[[Image:Pagelogic1.png]]
 
[[Image:Pagelogic1.png]]
  
Page 3 will appear if value stored in the variable(or response to question on Page 1)Papers is 'No'. The condition is specified as follows:
+
<strong>Page 3 will appear if value stored in the variable(or response to question on Page 1)Papers is 'No'. The condition is specified as follows:</strong>
  
  

Latest revision as of 12:55, 31 March 2009

Page logic section is used to specify visibility condition for a page. Visibility conditions are based on responses to questions asked in earlier pages.

Example,

We create three pages with one question per page.
WebForm1.png

Page 1 has variable name Papers and the question asked may have one of two responses 'Yes' or 'No'.

WebForm2.png

Page 2 will appear if value stored in the variable(or response to question on Page 1)Papers is 'Yes'. The condition is specified as follows:


Pagelogic1.png

Page 3 will appear if value stored in the variable(or response to question on Page 1)Papers is 'No'. The condition is specified as follows:


WebForm3.png