Skip navigation
Trina_Kat
Currently Being Moderated

When clearing a form, is there a way to also clear the photos?

May 24, 2012 4:04 PM

Tags: #acrobat-pro

I have an existing form created using Adobe Pro's form creation. This contains a label tool for adding photos.  When I clear the form, the photos remain. Is there a way to clear out the photos of a form after one has already been linked?

 

Thanks,

 
Replies
  • George Johnson
    9,207 posts
    Aug 11, 2002
    Currently Being Moderated
    May 24, 2012 4:11 PM   in reply to Trina_Kat

    Exactly how are the images being added? You mentioned a label tool, but I don't know what that means. Are they being added as stamps? Also, what method are you using to clear the form?

     
    |
    Mark as:
  • George Johnson
    9,207 posts
    Aug 11, 2002
    Currently Being Moderated
    May 25, 2012 1:13 AM   in reply to Trina_Kat

    To clear a button icon, you have to use JavaScript. One way is to set up a button that has a blank icon and copy it using the buttonGetIcon field method, and set it using the buttonSetIcon field method. The button that's the source of the blank icon would normally be hidden. There are other ways to do this, but this is the simplest, or at least best documented.

     
    |
    Mark as:
  • George Johnson
    9,207 posts
    Aug 11, 2002
    Currently Being Moderated
    Jun 8, 2012 1:16 PM   in reply to Trina_Kat

    That should do it, assuming the field names are correct and you're getting a valid blank icon from the buttonClear button. I'd be happy to take a look at the form if you want to mail it to me at: acroscript at gmail dot com

     
    |
    Mark as:
  • George Johnson
    9,207 posts
    Aug 11, 2002
    Currently Being Moderated
    Jul 6, 2012 12:26 PM   in reply to Trina_Kat

    I have not found a way to do this. PDF Expert does not support the JavaScript method that you'd normally use. The best I can come up with is manually selecting a blank (e.g., white) image, which would have to be added to the camera roll.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points