I am very new at creating forms, so this could be a very simple issue but here it is: I have created a form in MS Word then converted it in Acrobat. I added 2 types of reset buttons: one to reset all and another to reset a selected set of fields. In Acrobat Forms for the selected set of cleared field, I selected the set of cleared fields by using the Button Properties under actions tab. I would like to use the LifeCycle Designer because the maintenance would be easier. How do I apply a select set of reset actions for a set of fields for this button in the LifeCycle Designer (version 8 Pro)?
Thx, Lstar
Therefore you use the scripting method xfa.host.resetData()
Example 1:
xfa.host.resetData("xfa.form.form1.TextField1,xfa.form.form1.TextField2");
With this script, you can reset several specific objects to their default value.
The comma is to separate the single objects.
Example 2:
xfa.host.resetData();
With this command the whole form will be reseted to default.
radzmar
• LoveCycle Blog
Documents you need:
• LiveCycle Designer ES2 Docs