Skip to main content
Nintex Community Menu Bar
Question

Forms rule to validate that two person fields are different

  • September 28, 2023
  • 2 replies
  • 84 views

Forum|alt.badge.img+3

I have two person fields in a form on Office 365 Nintex.  Its a new responsive form.  I want to validate that the two person fields are different within the form rather than on the workflow.  I know formerly this was a reccomended use case for inline fuction.  Do we have something comparable in New Responive?

2 replies

AnthonyD
Nintex Employee
Forum|alt.badge.img+6
  • Nintex Employee
  • October 4, 2023

Hello @WillJordan ,

I am hoping you can something similar to the below:

Have 2 people controls on the form.
 

Then, have a form variable:
ifElse(first([Form].[People 1].[Full name])==first([Form].[People 2].[Full name]),"Same","Different")
 

Lastly, configure the form rules:
 

Working example:
 

 

I hope this resolves your question?

 

thanks,

Anthony


MillaZ
Nintex Employee
Forum|alt.badge.img+22
  • Nintex Employee
  • October 9, 2023

Hi @WillJordan 
Did this response help answer your question?