Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
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;