Skip to main content
Nintex Community Menu Bar
Solved

Mandatory people picker field based on two conditions: condition A and condition B

  • February 21, 2023
  • 1 reply
  • 65 views
  • Translate

Forum|alt.badge.img+6

I am building a form for making appointments with these fields:

  • Appt Category (Choice): Make appointment or block appointments
  • Supervisor (people picker)
  • Supervisor Not Listed (checkbox yes/no - default is no)
  • Supervisor (Manual Entry) - text field

I already have a rule where ‘Supervisor (Manual Entry)’ is a required field when ‘Supervisor Not Listed’ is equal to ‘Yes’…

 

But need a validation rule to make the ‘Supervisor’ (people picker) field MANDATORY on these two conditions. I tried this rule, but it does not work:  

  • ‘Appt Category’ = “Make appointment” AND
  • ‘Supervisor Not Listed’ is equal to ‘No’

So that when ‘Appt Category’ = “block appointments”, the supervisor fields are not mandatory.

Thank You.

Best answer by isabellamai

I was able to resolve it with the below rule:

If(equals(ApptCategory,"Make appointment") && not(SupervisorNotListed), isNullOrEmpty({Self}))

 

 

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

1 reply

Forum|alt.badge.img+6
  • Author
  • Apprentice
  • 39 replies
  • Answer
  • February 21, 2023

I was able to resolve it with the below rule:

If(equals(ApptCategory,"Make appointment") && not(SupervisorNotListed), isNullOrEmpty({Self}))

 

 

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