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

Remove Icon-I need help to allow a user to remove single instance of image imported by ImportIcon button. The icon IS the image. I want the user to be able to clear or remove single image. The icon ISN'T showing as Field-see dialogue boxes. Why not?

New Here ,
Jan 01, 2017 Jan 01, 2017

reset form no fields in dialogue box but it exists in Fields.JPG

TOPICS
Acrobat SDK and JavaScript , Windows
420
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 ,
Jan 01, 2017 Jan 01, 2017

You'll have to use JavaScript, so you're in the right place. See this previous discussion for more information: How to remove an icon in a button

When you reset a form field, it sets the field value to the default value. Since a button does not have a value, a button field isn't a type that can be reset with a "Reset a form" action or the resetForm JavaScript method.

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
New Here ,
Jan 01, 2017 Jan 01, 2017

Thank you for your explanation.

Sent via the Samsung Galaxy Note5, an AT&T 4G LTE smartphone

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 ,
Jan 01, 2017 Jan 01, 2017

George provided the correct information. If you need a bit more information about how to do that, this recent discussion may provide that: JavaScript for Clearing JPEGs out of a Form??? (Adobe Acrobat Pro DC)

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
New Here ,
Jan 01, 2017 Jan 01, 2017

Thank you.

Sent via the Samsung Galaxy Note5, an AT&T 4G LTE smartphone

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
New Here ,
Jan 01, 2017 Jan 01, 2017
LATEST

This is EXACTLY what I need. Thanks again.

Sent via the Samsung Galaxy Note5, an AT&T 4G LTE smartphone

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