How to Prevent a PDF Form from Resetting After Required Field Errors
Question details
Users lose all entered data when submitting a PDF form with missing required fields because the form clears itself entirely.

- Product
- PDF Form Editor
- Device & OS
- not provided
- Scenario
- A user is filling out or testing a fillable PDF form, such as a job application, that contains required fields and a Submit button.
- Observed behavior
- When submitting the form with empty required fields, a warning is displayed, but the form subsequently clears all previously entered information.
Ensure you have the original editable version of the PDF form and access to a PDF editor with form-building capabilities, as you will need to modify the button's properties.
Remove the Reset Action from the Submit Button
Fix the data loss issue by removing the conflicting reset command from the submit button's properties.
When a form resets automatically upon submission, it is typically because the Submit button was mistakenly configured to perform two actions simultaneously: submitting the form and resetting it. By removing the reset action, the required-field validation will still display a warning, but the user's entered data will remain safely in the fields.
Launch your PDF editor, open the affected document, and navigate to the 'Form' or 'Prepare Form' tab to enable editing mode.
Locate the Submit button on the page, right-click it, and select 'Properties' from the context menu.
In the Properties dialog box, click on the 'Actions' tab to view the list of behaviors assigned to this button.
Look at the 'Actions' list at the bottom of the window. Select 'Reset a form' and click the 'Delete' or 'Remove' button, ensuring only the 'Submit a form' action remains.
Close the Properties dialog box and save your PDF document. Test the form to verify that data is preserved when a required field is missed.

Create and Edit Fillable PDF Forms with WPS Office
Easily manage button actions, set up required fields, and customize form properties using WPS Office's comprehensive PDF editing tools.
- 1. Open the Document: Launch WPS Office, select 'PDF Edit', and open your fillable PDF file.
- 2. Access Form Controls: Navigate to the 'Form' tab on the top ribbon to view all interactive form fields.
- 3. Edit Button Properties: Double-click the Submit button to open its settings and navigate to the 'Actions' tab.
- 4. Adjust Actions and Save: Remove any unwanted reset actions, confirm your settings, and save the document.

Frequently Asked Questions
Why does my PDF form clear all data when I click submit?
This usually happens when the form creator accidentally binds a 'Reset a form' action to the Submit button. When clicked, the button attempts to submit, triggers the required field warning, and simultaneously executes the reset command, erasing the data.
How do I create a separate reset button?
In your PDF editor's form mode, add a new button to your document. Open its properties, navigate to the Actions tab, choose 'Reset a form' from the action dropdown menu, and click 'Add'. Keep this button physically separated from the Submit button.
Will removing the reset action stop required-field warnings?
No, the required-field warning is an independent validation. Removing the reset action simply prevents the form from deleting the user's previously entered data when the warning is triggered.




