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

Nintex Form Validation Issue '=='Yes'&&isNullOrEmpty({Self})'

For the last I have been working on a validation formula that was working and for some aparent reason it stopped working. IF () is 'Yes' then I need several fields required, otherwise the fields do not need to be required. I created a panel and added the fields that are / are not required in the panel. I have pulled Grandfathering from named controls, should it instead come from Item Properties? I have been using this: https://ootbtutorials.com/2016/02/16/validating-or-requiring-fields-on-nintex-forms/. but something isn't working now. It was, and now it is not.

 

Here is the validation rule I have been using:

Grandfathering =='Yes'&&isNullOrEmpty({Self})

Labels: (1)
0 Kudos
Reply
1 Reply
Highlighted
Nintex Employee
Nintex Employee

Re: Nintex Form Validation Issue '=='Yes'&&isNullOrEmpty({Self})'

HI,
Your rule looks correct to me.
I would use and(equals(Grandfathering,"Yes"),isNullOrEmpty({Self})) but either should work.
If it was working and is now not look at the other rules and calculated value controls on the form as a bad syntax formula may be breaking all the other rules. If its still not working change browsers and test again. Cleaing the browser cache can also help.

Using the Named control or the item property is dependent on what it is you want to acheive.
Using the named control in new mode means the rule is dependant on the users input.
Using the item property in new mode means nothing will really happen as the column (item property) will always be blank.
In edit mode the item property may be needed if the column is changed by another source such as a workflow but this will still work for the named control as well.
0 Kudos
Reply