Skip to main content
New Participant
May 3, 2018
Question

How do a give a command to an item of a pull down list?

  • May 3, 2018
  • 1 reply
  • 309 views

Hello,

I am looking for the answer on the question: "How do a give a command to an item of a pull down list?".

I have a pull down list, for an inspection form, with a couple of items and one of them is the item "do not apply".

When the inspector chose "do not apply" then the text boxes underneath the drop down list need to hide.

What code do I need to get this?

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
May 3, 2018

As the field's custom validation script, enter something like this:

this.getField("Other field name").display = (event.value=="do not apply") ? display.hidden : display.visible;