These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Why Is My "Reset Form" Button Wiping Info in the Text Fields?

DanaUnderw
Registered: Mar 30 2011
Posts: 7

I am using Adobe Acrobat 9 Pro. I have created a form that is "interactive" with our clients, where they can type information into fields. That being the case, I also created a reset button for the form.
 
I noticed that when I test the reset form button that it is wiping certain text fields blank. The fields are in "Read only" and I have tried to think of every possible reason that it would be doing this. I remember in Adobe Photoshop and InDesign that the flatten tool would resolve this. Is the flatten tool in Acrobat Pro 9 the same idea?
 
If so, would it flatten all the fields on the page? Including text fields?
 
Any input would be appreciated. Thanks for your help!!
 
Dana U.

My Product Information:
Acrobat Pro 9.0, Windows
The X
Registered: Mar 27 2011
Posts: 24
From what I understand, you don't want certain text fields to go blank when resetting the form. When creating a reset button, acrobat will let you decide which fields will reset and which ones will not be affected. The fact that they are read only or not doesn't matter. They will reset anyway.

That being said, if you want certain read only fields to keep their data once the reset button is pressed, you have two options:

1. Uncheck the field name from the list when creating the reset button.

2. Give the field a default value under the "options" tab. So when resetting, they go back to that value.
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4307
Using JavaScript, you can even specify the field names to be reset. This feature allows one to dynamically change the fields to reset as the form is modified.

You can also use JS to dynamically set the 'default value' of fields so that when a reset action is taken, the field will be reset to the default value for that field and if no default value is set for that field the field is cleared.

George Kaiser

Sibeauxe
Registered: May 25 2011
Posts: 1
Hi Dana,

I've experienced the same problem. It seems that if you create a button that resets particular form fields (using the properties>actions menu for the button), and then create new fields, acrobat for some reason adds any and all of the fields created after you create the reset button to the fields that are reset using that button. I'm presuming this is a bug, but it could be a "feature" - I haven't been able to find a way of turning it off globally.The workarounds I can identify are:

1. When you have COMPLETELY finished designing your form, and won't be adding any more fields, go back through and check each and every one of your reset buttons and make sure they are only resetting the fields that you wish.

2. Don't even bother constructing field reset buttons until you have finished the rest of the form design as above.

3. Code the field resetting buttons in JavaScript rather than using the acrobat interface menu to do it. This is by far the best solution (since it means you only have to do it once, and get to test the functionality as you go) but requires a bit of knowledge of Javascript.

Cheers,