Skip to main content

Referencing

You can "quote" a block or a question with REF. By default, REF is Q (or T for transition) + block position. You can rename this REF in the header of each question or transition.

Answers to questions, items and zones also have a REF, but this one is uneditable. This REF is I for item, A for answer and Z for zone + position.

This function is used to quote answers to closed questions (simple type) or to a battery of items. It also works with hotspot zones.

Usage

Quoting answers is used in question labels and transitions but also answers to questions, items or zones.

Loop support

The referencing system also supports loops with LOOPXXX syntax. All refs and VAR_X variables can be used within loop contexts to dynamically reference content based on loop iterations.

Syntax

Basic referencing

  • [Q1] - Quote all answers to Q1 question (only one if there's only one)
  • [Q5.A3] - Select the third answer to Q5 question
  • [Q7.A001]- Select the first respondent answer to Q7 question
  • [Q2.I1] - Quote answers to Q2 first item
  • [Q3.Z4] - Quote the answer to Q3 fourth zone
  • [Q2.I2.TEXT] - Quote the label of item n°2 (the one with REF I2)
Important

[Q5.A003] refers to the third answer that the respondent has ticked, not the third in chronological order.

Question types

Profile question

  • [Q1] - Returns all answers separated by a comma ("Answer 1, Answer 2, Answer 3")
  • [Q1.A2] - Returns only the second answer (e.g "Answer 2"), in single mode it's possible to write [Q1.A1]
  • [Q1.TEXT] - Returns the text of the question

Battery of items

  • [Q2.I1] - Returns all answers separated by a comma for an item ("Answer 1, Answer 2, Answer 3")
  • [Q2.I1.A2] - Returns only the second answer (e.g "Answer 2") to an item, in single mode it's possible to write [Q2.I1.A1]
  • [Q2.TEXT] - Returns the text of the main question of the battery
  • [Q2.I1.TEXT] - Returns the text of an item

Hotspot

  • [Q3.Z1] - Returns the answer for a zone (hotspot can only have 1 answer)
  • [Q3.Z1.A1] - It's possible to write this way to have the answer
  • [Q3.TEXT] - Returns the text of the main question of the hotspot
  • [Q3.Z1.TEXT] - Returns the text (name) of a zone

Open question

  • [Q4.TEXT] - Returns the text of the main question
  • [Q4.F1] - Returns the answer for a field (e.g "field value 1")
  • [Q4.F1.TEXT] - Returns the text of a field (e.g "Name")

Adaptive

  • [Q5] - Returns the answer of the adaptive question (e.g "My name is John")
  • [Q5.TEXT] - Returns the text of the adaptive question (e.g "What is your name?")

Loop references

  • [LOOP1.Q1.TEXT] - Returns the text of a the Q1 question inside the first iteration of the loop.
  • LOOP1.VAR_1 - Use variables within loops for dynamic referencing

Global variables

  • [VAR_1] - Returns the first global variable

Examples

Thank you [Q1] for participating in our survey.
Your favorite color is [Q2.A1].
You rated item 1 as [Q3.I1.A1].
The hotspot zone you selected was [Q4.Z1].
Your name is [Q5.F1].