How to have free text and radio button response on the same question? | XM Community
Question

How to have free text and radio button response on the same question?

  • 15 February 2021
  • 3 replies
  • 312 views

Hi there,
I'm looking for a workaround to have free text (numeric) and a radio button on the same question.
E.g. ask respondents what year they graduated, but also have a 'can't remember' option to select.
I have found that you can do this with multiple choice question, making one response allow text, but you have to select the radio button to enter the text (see attached image). Ideally, respondents should just be able to directly enter text without first having to select the radio button.
Thanks for your help!
Capture.PNG


3 replies

Userlevel 6
Badge +21

hi HannahG
I think if respondent directly enter the value in textbox than radio button is get selected else you can juts hide the radio button labels by adding below code.

jQuery("[id='QID1-1-label']").hide();

Note: replace the radio button label id value.

Thank you PraDeepKotian_Ugam, that sounds like it will work. Can you please let me know how to find the id value?

Userlevel 6
Badge +21

https://www.qualtrics.com/community/discussion/comment/34513#Comment_34513This thread will help you to find the Qualtrics questions id.
https://www.qualtrics.com/community/discussion/1536/how-to-retrieve-element-ids-inside-a-question

Leave a Reply