Skip to main content

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

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.


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.


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

Thanks


Reply