I currently have a survey which has mostly multiple choice questions that allow respondents to choose multiple options with checkboxes.
I am aware that merge codes allow you to display questions with the answers for those questions.
For example, the following code would display a question and all answers to it separated by commas if the question’s ID is 3:
Here’s my question: Is there a way to show one, individual response to a question at a time instead of displaying the question with all answers to it separated by commas?
For example, instead of a merge code for a multiple choice, checkbox question displaying this:
What are your favorite TV Shows?
The Blacklist, Law and Order, Seinfeld, Heroes, Scandal, Grey’s Anatomy
Is it possible to only display this instead?
To display only a single selected answer option, instead of a comma-separated list of all selected answer options to a checkbox question, you may use the option=”” parameter in your merge code and reference a specific option from that question.
Here’s an example to help illustrate this. Let’s say you have this question:
We can find the necessary Ids by going to Tools > Survey Legend:
So on page two of my survey, I could use the merge code [question(“value”), id=”2″, option=”10001″] to display the word “Red”, if that option was selected. Otherwise, the merge code will evaluate to nothing (so nothing will be displayed in place of the merge code).
One sidenote/correction to your original question – merge codes will display the answer option(s) that were selected, but will not display a question’s title. There is a [question(“title”), id=””] merge code, but this is in reference to “option title” (as opposed to “option value”, which will give you the reporting value of the select answer option(s)).
I hope this helps!
Hi, apologies for the old thread, but has there been any update on this?
I am looking to create a hidden value that displays the first selected answer from a checkbox question
Is this possible?
Thanks for the incredible answer!
I just have one more question: is there a merge code to display one chosen option at a time from multiple-choice, check box questions?
In that case, the merge code would display an option on an individual basis only if it was chosen by the test taker —possibly in sequential order.
This would result in some amazing and personalized reports and email actions.