Form Field question and 'Don't know' option | XM Community
Skip to main content

Hey Qualtrics Team, 

I’m working in the Survey Builder module and I’m wondering if it’s possible to include a ‘Don’t know’ option within a ‘Form field’ question 

The ‘Form field’ question is requesting to include a number (validation = number), but I’d like to include a ‘Don’t know option outside the form field. 

 

You can achieve this in two ways.

Option1: simple one single select question.
 

Option 2. use two questions and custom JS.

Questions type: Form field and checkbox multi select. But make sure both question will be not required and use custom validation for required response if both are blank.

JS paste under addOnload function.

jQuery(".InputText").keyup(function(){
if(jQuery(".checkbox").is(":checked")){
jQuery(".checkbox").prop("checked",false)
}
});

jQuery(".checkbox").click(function(){
if(jQuery(".checkbox").is(":checked")){
jQuery(".InputText").val("");
}
});

 


Thanks @ArunDubey 


Good day, @VictorAV !


Leave a Reply