Validation using custom error message | XM Community
Skip to main content

Validation using custom error message

  • December 5, 2022
  • 5 replies
  • 105 views

Forum|alt.badge.img+6

How can I validate a star rating question? I want to validate if the 3 star rating questions are empty. Here is my code and question setup below.
image.pngimage.png

5 replies

Deepak
QPN Level 8 ●●●●●●●●
Forum|alt.badge.img+46
  • 1555 replies
  • December 5, 2022

https://community.qualtrics.com/XMcommunity/discussion/23224/validation-using-custom-error-messageWhat if you include a custom validation something like this in your question?
image.pngHope it helps!


Forum|alt.badge.img+6
  • Author
  • 18 replies
  • December 5, 2022

Deepak I already used that before but the problem now is that the project became multi-country (almost 100). Since the Custom Validation only allow to use 1 level of conditioning, it is not efficient on my end to duplicate each condition for every country.


Deepak
QPN Level 8 ●●●●●●●●
Forum|alt.badge.img+46
  • 1555 replies
  • December 5, 2022

https://community.qualtrics.com/XMcommunity/discussion/comment/52845#Comment_52845As per your image it looks like one question for star rating. Can you please elaborate on multi-country and how it is affecting this custom validation?


Forum|alt.badge.img+6
  • Author
  • 18 replies
  • December 5, 2022

https://community.qualtrics.com/XMcommunity/discussion/comment/52843#Comment_52843Let's say you have to do the conditions below, so if I used the Qualtrics custom validation then I have to do this per country since there's only 1 level of "If & Else" condition on Qualtrics.
If 
[(QID1 = Lab Manager, Doctors) and QID2 = Displayed] AND (Country = Germany or Country = Italy or Country = Russia)
Or
[(QID1 = Lab Manager, Doctors) and QID2 >= 1] AND (Country = Germany or Country = Italy or Country = Russia)


Deepak
QPN Level 8 ●●●●●●●●
Forum|alt.badge.img+46
  • 1555 replies
  • December 5, 2022

https://community.qualtrics.com/XMcommunity/discussion/comment/52866#Comment_52866Understood, yes Qualtrics is unable to perform it. Sorry, will not be able to help you with the code.