Skip to main content
Nintex Community Menu Bar

Making a text field required after a dropdown item is selected

  • Jan 8, 2020 7:11 PM UTC
  • 3 replies
  • 43 views
  • Translate All

Forum|alt.badge.img+1

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.

3 replies

Simon Muntz
Nintex Partner
Forum|alt.badge.img+23
  • Nintex Partner
  • Jan 9, 2020 3:55 AM UTC

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

Translate

Forum|alt.badge.img+1
  • Author
  • Jan 10, 2020 6:00 PM UTC

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?

Translate

Simon Muntz
Nintex Partner
Forum|alt.badge.img+23
  • Nintex Partner
  • Jan 12, 2020 11:20 PM UTC

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.

 

Translate