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

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

New Here ,
May 03, 2018 May 03, 2018

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?

TOPICS
Acrobat SDK and JavaScript , Windows

Views

192

Translate

Translate

Report

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

Copy link to clipboard

Copied

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;

Votes

Translate

Translate

Report

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