fields:
preferred_contact:
type: radio
label: Preferred Contact Method
options:
email: Email
phone: Phone
| Name | Type | Default | Description |
|---|---|---|---|
| aria |
string
|
– |
Optional aria label for better accessibility. |
| autofocus |
bool
|
false
|
Set autofocus on field. |
| error |
string
| array
|
– |
Costum error message for translation or customization. |
| help |
string
| array
|
– |
Optional help text below the field |
| label |
string
| array
|
– |
The field label can be set as string or associative array with translations |
| options |
array
|
– |
Defines the available choices for the radio field as key-value pairs. Each option_key must be unique, and the labels can support multiple languages. |
| required |
bool
|
– |
Defines whether the field is mandatory for form submission. |
| title |
string
| array
|
– |
Tooltip displayed when the user hovers over the field (supports multilingual configurations). |
| width |
string
|
1/1
|
The width of the field in the 12 columns field grid. |