Help Needed with JavaScript for Enhanced Validation in Qualtrics | XM Community
Skip to main content

Hi everyone,

I've designed a survey in Qualtrics with two types of question formats (side by side and matrix) as shown in the attached images. Each question type includes several items (only 3 items are displayed in the images for simplicity). While I can use the 'Force Response' option to ensure all questions are answered before the respondents can submit the survey, it does not pinpoint exactly which item was missed if left unanswered.

I'm looking to enhance the user experience by highlighting any items that are not answered within each question block. Could someone help me with a JavaScript script that would allow me to:

  1. Prevent survey submission if any item is left unanswered.
  2. Highlight the specific items that are unanswered to guide the respondents directly to the missed questions.

I appreciate any guidance or scripts you could share!

Thank you!

@JennyZhan - You might be interested in this. If you are, contact me by private message.


Leave a Reply