Displaying Previous Survey Results
- Updated
If you wish to display previous survey results to a participant, either within a notification, survey, or view, you can do so by using expressions.
For example, if participants report a daily pain score, you may wish to show them what they reported the day before. To set this up, you will need to add an expression with either of the following formats to your survey text:
<%= SA.L("RESULT_IDENTIFIER") %>
or <%= SA.Last("RESULT_IDENTIFIER") %>
For Question Steps, ResultIdentifier
will be the same as the StepIdentifier
. For Form Steps, this will be the name of the Form Item.
For example, the following survey pulls in the participant's previous pain score:
Was this article helpful?