Nintex Rule Formula with 2 conditions

  • 12 July 2022
  • 3 replies
  • 111 views

Hello, 

 

I have a form in which I first need to select a content type. There are 2 options: "Discretionary" and "Controlled".

 

Now, when the content type equals "Controlled", there is another field called "Record Type" that is mandatory.

 

Therefore, I need to create a rule so that when "content type" is "controlled" AND "Record type" is Empty, the user gets a validation message saying "mandatory field"

 

I managed to get the rule for "Record Type" being empty but I'm not sure how to add the AND and the other condition and get it to work. See attached 


3 replies

Userlevel 6
Badge +16

Hi @Malcorr, you are almost there... 


 


FYI for your reference Creating a validation rule in Classic and Responsi... - Nintex Community


 


What you want to achieve? 


To create a rule so that when "content type" is "controlled" AND "Record type" is Empty, the user gets a validation message saying "mandatory field"


 


The Outcome



 


The Rule



 


Hope that helps

Userlevel 6
Badge +22
If you do not want to use operators as per the solution above you can create the rule using only functions.
and(isNullOrEmpty({Self}), equals(ContentType,"Controlled"))
Userlevel 6
Badge +16

Thanks for the tip @SimonMuntz 

Reply