Constructor
new FormDataDeep(form, primitives)
Get form data as an object, including nested forms.
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
form |
HTMLFormElement | Object | the root form element, or a JSON Object containing form data. |
|
primitives |
Boolean | false | whether to convert string values to primitives. Defaults |
- Source:
Methods
apply(form)
Applies the values in this object to the target form.
Parameters:
| Name | Type | Description |
|---|---|---|
form |
HTMLFormElement |
- Source: