Difference between revisions of "Web Form Variables"

From SmartWiki
Jump to: navigation, search
m
m
Line 1: Line 1:
 +
==Confirmation Page==
 +
 +
On the confirmation page, if you want to pull variables from submitted form, 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>

Revision as of 14:31, 30 April 2010

Confirmation Page

On the confirmation page, if you want to pull variables from submitted form, 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.