NA boxes next to textboxes (text questions, form questions, constant sum questions, matrix questions)
Hi all,
I’m designing a survey where I need to add N/A checkbox option everywhere. For the most part, they are numerical text entries or form or constant sum type questions. I’m not sure how to code script for each one such that if its selected, the textbox empties or becomes inactive.
I tried with a matrix but couldn’t get the validation right.
Please help.
Thanks!
Page 1 / 1
@Justeena You can make a side-by-side question like this
And put this code in
Qualtrics.SurveyEngine.addOnload(function() { var rows = jQuery("tr.Choice");
rows.each(function() { var row = jQuery(this); var dontKnowRadio = row.find("inputttype='radio']]value='1']"); var textBox = row.find("inputttype='text']");
dontKnowRadio.change(function() { if (dontKnowRadio.is(":checked")) {