跳到主要内容

重置所有表单

在需要时(例如打印文档后),清除所有字段内容。

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

使用方法: GetDocument, GetAllForms, Clear

结果

Reset All FormsReset All Forms