cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Not applicable

Adding multiple validations to a control

Jump to solution

I am working on a form that I want to use validation rules for. I have a drop down menu where users can either select "Link" or "Document". If they select "Link" then they must complete the link field and if they select "Document" they must add at least 1 attachment.

I was using the following validation rule for on my link field:

equals(TypeOfReference, 'Link')

And I was using the following validation rule for me attachments field:

equals(TypeOfreference, 'Document')

These rules work fine, but it doesn't check to see if the Link or Attachments are empty so it won't let users submit the form. I have also tried the following rules but they will not work and allow users to submit the form when they haven't completed the necessary fields.

equals(TypeOfReference, 'Link') && IsNullOrEmpty({Self})

equals(TypeOfReference, 'Link') && {Self} == ""

I also have tried using custom JavaScript, but was having the same issue. Below is a screenshot of my form.

0 Kudos
Reply
2 Replies
pfudala
Nintex Newbie

Re: Adding multiple validations to a control

Jump to solution

Hi alinn,

I think you could report it as a bug. I tested your two syntaxes and I got the same behavior as yours.

But if I convert the rule type as a "Formatting" rule, it works so syntaxes are well-written.

View solution in original post

0 Kudos
Reply
Not applicable

Re: Adding multiple validations to a control

Jump to solution

Thanks for the feedback.

There are certain things that I like a lot about Nintex (specifically the workflows), but I feel like the forms need a lot of improvements.

0 Kudos
Reply