I am using the below javascript to get the selected answers but this is only giving me the choice number and I want the value. How can get the value of the selected answer and not just the number?
var choices = this.getSelectedChoices ();
console.log('choices are: ' + choices);
Page 1 / 1
Loop through the selected choices and use
getChoiceValue.
Thank you very much TomG. Could you please advise me how to get a text input from a multiple choice question that allows text input?
https://community.qualtrics.com/XMcommunity/discussion/comment/50516#Comment_50516I think you can use
getTextValue. Alternatively, you can get it from the DOM.
https://community.qualtrics.com/XMcommunity/discussion/comment/50516#Comment_50516As I mentioned above, use
this.getTextValue(choiceid).
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.