Hello survey123 community,
I have a survey where I prefer to pass HTML into the labels of Choices
The question is select_one type
How do I pass the response into the Word template for printing a feature report ?
Currently the printed PDF returns the entire HTML syntax
I had thought to use VB object model to paste into Word.
Would be far easier if you could print the actual name of the choice and not the label
Grateful for any assistance
Cheers,
James
Solved! Go to Solution.
Hi @JamesBotterill4 you can use the following syntax to print the name of a choice (instead of its label) for a select_one question:
${condition | getValue:""}
If you haven't seen it, there's a useful quick reference that provides report syntax examples for your survey questions. You can access it from the Manage Templates dialog. See this post for more info.
Hope this helps. Best, Jim
Hi @JamesBotterill4 you can use the following syntax to print the name of a choice (instead of its label) for a select_one question:
${condition | getValue:""}
If you haven't seen it, there's a useful quick reference that provides report syntax examples for your survey questions. You can access it from the Manage Templates dialog. See this post for more info.
Hope this helps. Best, Jim