Difference between revisions of "Page Logic - Web Forms"

From SmartWiki
Jump to: navigation, search
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
Page logic section is used to specify visibility condition for the page. This may include conditions 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 where the question asked on Page 1 can have one of two responses 'Yes' or 'No'. <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.<br/>
+
 
Page 2 will appear if Papers is 'Yes' and Page 3 will appear if Papers is 'No'.
+
<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]]
 +
 
 +
<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]]
 +
 +
<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>
 +
 +
 +
[[Image:WebForm3.png]]
 +
 +
[[Category:Web Forms]]

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