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

how to hide dropdown default item

Guest
Nov 16, 2017 Nov 16, 2017

iam new in adobe component field.
i have a drop down, with 4 item. where 1 item was a default item.

adobe.png

i set "--select--" as default item.
what i want is when i click on the drop down. item `--select--` was hidden or not show.

but then i click on my custom button where it is a reset form. the drop down value back to pointing at `--select--`

thanks

TOPICS
Acrobat SDK and JavaScript , Windows
496
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
LEGEND ,
Dec 25, 2017 Dec 25, 2017
LATEST

If you are the developer of the form, then you can just use a space instead of the "--select--" string if you want to control the displayed value. If you want to hide the "--select--" text when printing, you can add some custom JavaScript to the "Will print" action to hide the field and then add some JavaScript to the "Did print" action to display the field.

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