I am currently using JavaScript to create in-page display logic for one of my dropdown menu questions. Some of the child questions have a force response validation attached to them. When I try to submit the survey I cannot because a required question is not answered even though it is still hidden by the JavaScript and selections made. Does anyone know a work around using JavaScript to make questions required only when they meet the proper logic and are unhidden and are not required when they are still hidden?
Thanks!
Page 1 / 1
You could try looking at "enable/disable next button" based on your logic.
I would use custom validation for that, with "is not displayed" for the hidden fields.
I had the same problem and solve it by an alternative method. Hiding a question using JS does not mean disable it from being exist. Thus, the validation of that question is still handled by Qualtrics server.
The workaround can be by having a display logic for the questions which are having Force Response or Validation in order to avoid Qualtrics server to validate against that and instead, it should be appeared whenever its required to be answered only.
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.