Why do my options disappear/not show correctly when I give them an HTML tag? | XM Community
Skip to main content

EDIT: Issue has been resolved
I have the following HTML tag in each of the options in my survey question.

However, when I click enter after entering this HTML tag in an option, the option completely disappears. I'm able to get it back by adding another statement to the question from the menu, but when I preview the survey, it displays as a blank option, even though I'm adding the following JavaScript code.
jQuery("#caption1").html(caption1var);
The strange part is that this exact solution worked on another survey to display values generated with JavaScript code, but it's not working on this new survey I've created. What am I doing wrong?

Hello mbarnhill,
Somehow this is an default Qualtrics behaviour where in the choice text if you are only including the HTML tags without any content it will not consider that and remove that choice automatically, As a solution to this you can just as space ascii code in your span tag as below and it will resolve your issue.
 
Regards,
Rahul N.


Leave a Reply