Skip to main content
Nintex Community Menu Bar
Solved

Nintex Form Expressions Help


Forum|alt.badge.img+3

We have the requirement for some validation on a Nintex Form that I can not seem to figure out on my own...

 

Below is the form;

 

22027i3F43722856A66E57.png

 

So what we need to do is if the Status field is either "Completed" or "Cancelled" or "Incomplete" then Either the "Waiting Start Date" and "Information Received" fields must both be empty or both be filled other wise the Save and Notify button will be disabled.

 

How I am going to achieve this is by applying a rule to the Save and Notify button that uses an expression that checks the above requirements... I am more than fine if this has to use 2 rules. I just need some help with writing the expression/s.

 

Thank you

Best answer by itteam_rondo

I have managed to find a resolution to this with the below expression.


 


and(Status=="Completed" || Status=="Incomplete" || Status=="Cancelled", isNullOrEmpty(WaitingStartDate) && not(isNullOrEmpty(InformationReceived)) || isNullOrEmpty(InformationReceived) && not(isNullOrEmpty(WaitingStartDate)))

View original
Translate
Did this topic help you find an answer to your question?

Forum|alt.badge.img+3

Still have not had much joy with this but this is what I have put together so far but it is not working... I figure I am going to need two rules


 


equals(isNullOrEmpty(WaitingStartDate)&&!isNullOrEmpty(InformationReceived))&&(equals(Status, 'Completed')||equals(Status, 'Incomplete')||equals(Status, 'Cancelled'))


 


equals(!isNullOrEmpty(WaitingStartDate)&&isNullOrEmpty(InformationReceived))&&(equals(Status, 'Completed')||equals(Status, 'Incomplete')||equals(Status, 'Cancelled'))


 


Any help appreciated

Translate

Forum|alt.badge.img+3

I have managed to find a resolution to this with the below expression.


 


and(Status=="Completed" || Status=="Incomplete" || Status=="Cancelled", isNullOrEmpty(WaitingStartDate) && not(isNullOrEmpty(InformationReceived)) || isNullOrEmpty(InformationReceived) && not(isNullOrEmpty(WaitingStartDate)))

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings