Question References Explained

Applies to Infiniti v8.3 or later
 
As the different question types have different behaviors, references to them within formulas can have slightly different syntax.
If you are unsure the reference tool (the shortcut arrow beside the formula filed) can be used to create a reference automatically with a point and click motion.


 
The following table lifted from the Designer Guide has explains how to reference each question type.

 

 

Referenced Question Type

 

 

Syntax

 

 
Text Field
 
 
Question ID enclosed in square brackets, e.g.:
[Q2]
[Q54]
 
 
Variable, Address Prompt
 
 
Question ID enclosed in square brackets, followed by
a decimal point (.) and the answer ID or name, e.g.: [Q3.3]
[Q3.SubTotal]
 
 
Data Source
 
 
Question ID enclosed in square brackets, followed by a decimal point (.) and the data field name, answer ID or answer name, e.g.:
[Q3.Surname]
[Q3.Income]
[Q3.3]
 
 
Multiple Choice
 
 
Question ID enclosed in square brackets, will return the value property of the selected answer e.g.:
[Q4]
To always reference a particular answer include a decimal place followed by the answer‟s ID or name, e.g.:
[Q3.3]
[Q3.SubTotal]
 
 
Auto Logic
 
 
Question ID enclosed in square brackets, followed by
a decimal point (.) and the answer ID or name will return a 1 or 0 after processing the Rules of the answer.
e.g.: [Q7.14]
[Q7.IsValid]
 
 
 

Related articles:

Auto Logic Rule Question and Comparison Referencing

Referencing Auto Logic Answer

Referencing Attachment Filenames

 

Keywords

autologic