cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
sonisick
Nintex Newbie

On Nintex Forms is there anyway to selectively disable certain validations?

Jump to solution

I have a Nintex form with several panels. The panels are hidden depending on the value of a Choice field. For simplicity, I'd like to mark a number of fields required and turn the validation off dependent on the choice of the field.

Is there any easy way to do this with rules or JavaScript?

thanks,

Stephan

Labels: (1)
0 Kudos
Reply
3 Replies
greenawayr
Nintex Newbie

Re: On Nintex Forms is there anyway to selectively disable certain validations?

Jump to solution

Rules will let you do this. Just set the conditions to something like

and(Contact Method=="Phone", isNullOrEmpty({Self}))

This will check if the choice field "Contact Method" equals "Phone" and if it does then the control the rule is set on (Phone Number) cannot be blank, otherwise it is invalid.

If the value is anything other than "Phone" then the condition passes and is valid.

Reply
sonisick
Nintex Newbie

Re: On Nintex Forms is there anyway to selectively disable certain validations?

Jump to solution

Thanks for helping me look in the right place. This worked for me in the rules for the controls:

isNullOrEmpty({Self})&&(UserSelection=="Training Development / Modification")

I was actually able to use the same string in all the controls on the panel. Of course I changed my Validation Message on each.

Reply
greenawayr
Nintex Newbie

Re: On Nintex Forms is there anyway to selectively disable certain validations?

Jump to solution

Glad to have helped. If the solution can be marked as answered for future users, that would be great. 

Thanks

Reply