Constructor
Reset form fields in the current document.
Parameters:
Name | Type | Description |
---|---|---|
args |
object | An object with the keys |
Example
const action = new PSPDFKit.Actions.ResetFormAction({
fields: List(["exampleField"])
});
Extends
Members
Members
A List identifying which fields to reset or which to exclude from resetting, depending on the setting of the includeExclude flag. Each element of the array shall be a text string representing the fully qualified name of a field. If this entry is omitted, the includeExclude flag shall be ignored; all fields in the document’s interactive form are reset.
Type:
- Immutable.List.<string>
- Default Value:
- null
If false, the fields list specifies which fields to reset. If true, the fields list indicates which fields to exclude from resetting. That is, all fields in the document’s interactive form shall be reset except those listed in the fields list.
Type:
- boolean
- Default Value:
- false
Actions can be chained by adding them to this immutable List.
Type:
- PSPDFKit.Immutable.List.<Action>
- Inherited From: