...
Property | Description | Notes | Localizable |
---|---|---|---|
Name | Name used to identify the field | ||
Label | Label to be rendered in the UI | Can be localized | X |
isMandatory | If true the field is required | A * is added in the UI | |
isVisibleCustomer | If false the filed is hidden | Mainly use for mode auto to fetch info using JS evaluation | |
isVisibleAgent | False if the content is not intended to be shown to agent for privacy reason | ||
isEditable | False if user is not allowed to change default value | ||
custom_regexp | Regular expression for validating input | If input is not validated, an error message is shown when submitting the form. Not used for textarea | |
customMandatoryErrorMessage | Error shown when a mandatory field is not filled | X | |
customValidationErrorMessage | Error shown when input is not valid | X | |
dc_type | Type of field | Supported values are:
| |
options | Object whose properties are used as possible values | Used only for radio, select and checkbox | X |
value | field value | if dc_type mode is manual then it's considered as pre-filled value, if auto it's evaluted as a JS function returning a value | |
name | field name | Not visible in UI | |
mode | field mode | it descibes describes how to use the value field. manual the value is used as default value, auto it's evaluated as a JS function |
...