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,
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.
OK I understand what you are saying, but I am not as Java Savy as I would like to be.
I have created the hidden blank icon. Based on another users similar question, I used the following script that you provided for him for the buttonGetIcon Field Method.
var oIconClear = getField("buttonClear").buttonGetIcon({nFace: 0});
getField("Picture 1a").buttonSetIcon({oIcon: oIconClear, nFace: 0});
I believe I still need the buttonSetIcon field method because this script alone did not seem to work.
Perhaps I am doing everything completely wrong ![]()
North America
Europe, Middle East and Africa
Asia Pacific