Web Form Variables

From SmartWiki
Jump to: navigation, search

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.