1

I've created an item rule using the Rules Validation Rule template. The rule ensures that there is a value provided for EITHER a specific text field OR a specific checkbox field.

The rule works fine when toggling between a value and no value for the text field, but when toggling the checkbox field, it only reports a validation error after toggling to the unchecked stated and then saving TWICE. Saving the first time after unchecking the box doesn't give an error. I don't see this behavior with the text field. Any ideas why this is happening?

Here's the rule: enter image description here enter image description here

I've added the rule to the item template's standard values: enter image description here

2
  • Could you please add more details on how is the rule implemented? – Cristi Vulturar Mar 9 at 9:15
  • More details added – Matt Eno Mar 9 at 23:00
1

I was able to make it work by inverting the logic for the checkbox field. Instead of using is empty I used not equal to 1

enter image description here

1
  • Strangely, I tried that earlier, and it didn't work, but perhaps doing that AND having the checkbox field come first did the trick. Anyway, it's working now, so thanks. – Matt Eno Mar 10 at 23:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.