Field Execution Context
Field execution context is a set of variables available in JavaScript code that is executed in field-specific expressions such as:
Visibility condition
Enabled condition
Read-only condition
Required condition
Default (computed) value
and others.
The following variables are available in the field execution context:
Name Type | Return type | Description |
---|---|---|
|
| model (for input fields), or model of the containing field group (for visual fields) |
|
| `model` value, an alias for `model.value` |
|
| model of the containing page |
|
| an alias for `pageModel.value` |
|
| model of the widget created with Docupace Start |
|
| an alias for `wizardModel.value` |
|
| an object populated by in-widget JavaScript |
|
| field configuration object |
|
| |
|
| unique field ID (auto-generated upon field creation) |
|
| field type |
|
| wizard scope |
|
| Work Item data (includes enabled and disabled fields) Other aliases for this object:
|
|
| module with generic utility functions |