Difference between revisions of "Web Form Variables"
From SmartWiki
(→Confirmation Page) |
(→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 |
Revision as of 09:35, 10 November 2011
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.