Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

New Here ,
May 03, 2018 May 03, 2018

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?

TOPICS
Acrobat SDK and JavaScript , Windows
290
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 03, 2018 May 03, 2018
LATEST

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;

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines