Difference between revisions of "Web Form Variables"

From SmartWiki
Jump to: navigation, search
m
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
==Confirmation Page==
 
==Confirmation Page==
  
On the confirmation page, if you want to pull variables from submitted form, you have to reference them by the [@''variablename''@] syntax.
+
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  
+
'''Note''': For each question you can define a variable name. That variable name is what you are using
  
 
==Workflow==
 
==Workflow==
Line 19: 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 42: 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.