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

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

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!


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.


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?


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)


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.


Leave a Reply