Skip to main content

Reset all forms

Clears all fields if necessary, for example after printing the document.

(function()
{
let doc = Api.GetDocument();
let allForms = doc.GetAllForms();
allForms.forEach(form => {
form.Clear();
});
})();

Methods used: GetDocument, GetAllForms, Clear

Result

Reset All FormsReset All Forms