Validation Error | XM Community
Skip to main content

Hello,
I have set "Force Response" to all the questions in my survey. Each time a user goes to next page without answering the mandatory question, a message “Please answer this question” appears on top of all the questions. I have 2 questions here -

  1. Is there a way we set validation to make the error message disappear as the user type the response in each of the unanswered questions than wait for them to hit on next to see it disappear?

  2. Can we set force response at block level than setting it for each question? My survey is pretty lengthy and all the questions are mandatory, it makes sense to set "force response" at a block level in this case

  1. https://www.qualtrics.com/community/discussion/12447/validation-errorYes, but you would have to write JavaScript to hide the error message(s).

  2. Yes, Click on the first question in the block then scroll to the last question in the block and Shift+Click on the question. Once you have selected all the questions in the block, select 'Force Response' on the right.


Thanks, Tom.
Would i need to write JavaScript on each question to hide the message?


https://www.qualtrics.com/community/discussion/comment/30477#Comment_30477That would make the JavaScript easiest to write. You could add a generic JavaScript to the header that would apply to all pages, but it would be more complicated. How complicated would depend on your survey (questions per page, types of questions, etc.).


Leave a Reply