Skip to main content
Nintex Community Menu Bar

Conditional Validation based on 2 fields

  • April 4, 2022
  • 1 reply
  • 40 views

Forum|alt.badge.img+4

I have a form with a Calculated Field ("StepNumber") and a Choice Field ("TechName"). I want to make the Choice field mandatory if the Calculated Field equals "John".

 

I've tried:
StepNumber=="John" && isNullOrEmpty({Self})

1 reply

cecilia-penha
Nintex Employee
Forum|alt.badge.img+8
  • Nintex Employee
  • April 13, 2022

Hi @jambou,

 

The formula is correct. It only works within a rule as shown below :

If you're trying to use it in the Required expression for validation, it does not work as the calculated field is not accessible.

 

Hope that helps

^^