Skip to main content
Nintex Community Menu Bar

Validation Rule assistance

  • January 14, 2020
  • 3 replies
  • 17 views

Forum|alt.badge.img+3

Hi Everyone,

 

I am using the example shown here here to try and achieve form validation, but only after a certain value is not selected in a drop down. In essence I have been asked to not enforce required fields until the user is ready to submit the form for approval, which would allow them to revisit the item over time to complete it, before signifying that they are ready to submit the item for approval, and hence get validation on any missing values.

 

On one of the fields which requires this logic, I have placed the following formula in the Validation Rule:

 

isNullOrEmpty({Self}) && {ProcessStateSelector}!="Draft"

 

The problem is that the rule is being ignored, and even when a value other that Draft is selected in the ProcessStateSelector dropdown, the form is submitted without the validaiton alert.

 

What have I done wrong?

 

Thanks.

3 replies

Forum|alt.badge.img+3
  • Author
  • January 14, 2020

OMG.

 

I found the issue, for some reason a set of curly brackets had appeared around the identifier for the drop down list in the formula.

 

Once I removed them it worked.

 

Where is the face palm emoticon.


Simon Muntz
Nintex Partner
Forum|alt.badge.img+23
  • Nintex Partner
  • January 14, 2020
Is there a reason why you have curly brackets around ProcessStateSelector reference?

Forum|alt.badge.img+3
  • Author
  • January 14, 2020

@SimonMuntz wrote:
Is there a reason why you have curly brackets around ProcessStateSelector reference?


Hi Simon,

Yes you are correct. I was in the process of making my own reply and did not see yours until I reloaded the page.

 

Not sure how they got there, but once they were removed it worked.

 

Thanks for your response!