Mapping an Expression's Result to a Question

Use an attribute to display the result of an expression in an existing Read Only Text question. The expression will be re-evaluated each time a postback occurs, and you can pass the expression's result into a variable if needed.

Implementation:

  1. Switch to the Definition tab.
  2. Select the intended Read Only Text question.
  3. Right-click the selected question.
  4. Select Attributes.
  5. Add a new attribute with the type Mapped to Expression.
  6. (Optional) If you want to store the result of the expression in a variable, use the Place Result in This Model Variable field to select that variable.
  7. Switch to the attribute's Value panel.
  8. Use the Attribute Expression field to enter a single-line expression. The result of this expression will appear in the value section of the read-only text item when its question group loads, and on each subsequent postback while the form is displayed.
  9. Click OK.