Custom validation not working as desired. | XM Community
Skip to main content
Solved

Custom validation not working as desired.


I am trying to disallow someone from either leaving a name field blank, or entering something that is not a name like "anonymous" or "N/A". I believe I have set up everything correctly; however, it will let me answer "anonymous" or "N/A" every time I test it (although it will not let me leave it blank). Here is the validation I set up. What am I doing wrong??
image.png

Best answer by hcs

That worked, thanks. I've been burned by the AND/OR before. It's easy to confuse them depending on the wording of the question.

View original

3 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 5926 replies
  • June 3, 2020

Change the 'Or's to 'And's


rondev
Level 6 ●●●●●●
Forum|alt.badge.img+22
  • Level 6 ●●●●●●
  • 1449 replies
  • June 3, 2020

Try changing both the OR to 'AND'


  • Author
  • 2 replies
  • Answer
  • June 3, 2020

That worked, thanks. I've been burned by the AND/OR before. It's easy to confuse them depending on the wording of the question.


Leave a Reply