Reset sections of a form

Community Beginner ,
Feb 18, 2021 Feb 18, 2021

Copy link to clipboard

Copied

How do you reset only a section of a form?

 

Not the whole form.

 

 

Screenshot 2021-02-18 at 11.48.23.png

TOPICS
JavaScript, PDF forms

Views

35

Likes

Translate

Translate

Report

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
Adobe Community Professional ,
Feb 18, 2021 Feb 18, 2021

Copy link to clipboard

Copied

Likes

Translate

Translate

Report

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
Most Valuable Participant ,
Feb 18, 2021 Feb 18, 2021

Copy link to clipboard

Copied

LATEST

Since you added the JavaScript tag you might be interested to know that the same can be done using a script, like this:

 

this.resetForm(["Text1", "Text2", "Text5", "Radio1", "Radio10"]);

 

The names of the fields in the array are those that will be reset to their default values. The rest of the fields will retain their current values.

Likes

Translate

Translate

Report

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