DocumentEditor Field Access
The DocumentEditor provides several convenient properties and methods to access and work with form fields programmatically.Get Updated Document at Any Time
You can access the current document state in two ways: 1. Direct Access from DocumentEditorChange API
Programmatic updates to a JoyDoc via the editor. Apply multiple updates in one call. The Change API uses the change(changes:) method on DocumentEditor to apply programmatic updates to form fields. All changes are applied as an array of Change objects.| Target | Description | Usage |
|---|---|---|
field.update | Update field value | Set text, numbers, dates, selections |
field.value.rowCreate | Create table row | Add new rows to tables |
field.value.rowUpdate | Update table row | Modify existing table rows |
field.value.rowDelete | Delete table row | Remove rows from tables |
field.value.rowMove | Reorder table rows | Change row positions |