mnwong72
Canvas Initiate

Making a text field required after a dropdown item is selected

How do you make a text field required after a dropdown item is selected? I have a responsive form with a field with a dropdown menu and a subsequent text field next to it. When the user selects, "Exempt" from the dropdown menu, I want to make the text field required for the user to enter information.

0 Kudos
Reply
3 Replies
SimonMuntz
Nintex Employee
Nintex Employee

Re: Making a text field required after a dropdown item is selected

Set a validation rule on the text field.
Formula:
and(equals(dropdownControlName,"Exempt"),isNullOrEmpty({Self}))

0 Kudos
Reply
mnwong72
Canvas Initiate

Re: Making a text field required after a dropdown item is selected

The validation rule did not work. I am using SharePoint 2016 and Nintex Forms 2013, Version 2.11.5.20. I placed the formula in the "When" box and in the "Then" section selected Invalidate and added a message. Did I place everything in the correct spots?

0 Kudos
Reply
SimonMuntz
Nintex Employee
Nintex Employee

Re: Making a text field required after a dropdown item is selected

Hi,

 

Its not possible to run Nintex 2013 on SharePoint 2016.

 

Your form configuration sounds correct so not sure why its not working for you.

I have attached a sample responsive form that demonstrates your requirement.

 

0 Kudos
Reply