Difference between revisions of "Web Form Variables"

From SmartWiki
Jump to: navigation, search
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
==Confirmation Page==
 +
 +
On the confirmation page, if you want to pull variables from submitted forms, you have to reference them by the [@''variablename''@] syntax.
 +
 +
'''Note''': For each question you can define a variable name. That variable name is what you are using
 +
 +
==Workflow==
 +
 
Question Text:
 
Question Text:
 
:<font size="3">@P''p''.T''n''@</font>
 
:<font size="3">@P''p''.T''n''@</font>
Line 11: Line 19:
  
  
'''where"'''
+
'''where'''
 
* ''p'' is the page number
 
* ''p'' is the page number
 
* ''n'' is the question number
 
* ''n'' is the question number
Line 20: Line 28:
 
  @P1.T1@
 
  @P1.T1@
  
* Page 2, question 1 response value
+
* Page 2, question 4 response value
  @P1.Q1@
+
  @P2.Q4@
  
 
* The variable name of the response of a question that asks for first name
 
* The variable name of the response of a question that asks for first name
Line 34: Line 42:
  
  
[[Category:Web Forms]][[Category:Variables]]
+
[[Category:Web Forms]]

Latest revision as of 14:28, 20 October 2017

Confirmation Page

On the confirmation page, if you want to pull variables from submitted forms, you have to reference them by the [@variablename@] syntax.

Note: For each question you can define a variable name. That variable name is what you are using

Workflow

Question Text:

@Pp.Tn@


Response Value:

@Pp.Qn@


Response variable name:

[@variablename@]


where

  • p is the page number
  • n is the question number


Examples:

  • Page 1, question 1 text
@P1.T1@
  • Page 2, question 4 response value
@P2.Q4@
  • The variable name of the response of a question that asks for first name
[@firstname@] 


Notes:

  • If you use a response variable name, the variable name must be surrounded by square brackets [ ]
  • The default variables are case sensitive when used in the workflow. They must be in CAPS.