Field type
Single-line input with type="email" so mobile keyboards show the @-key and browsers do basic validation. Stores a plain string.
Type: email · Stored attribute type: string
Stored value
string
Supports
- HTML5 email keyboard / browser validation via
type="email" - Default placeholder of "name@example.com" if none provided
Config options
| Option | Type | Default | Description |
|---|---|---|---|
placeholder | string | name@example.com | Greyed-out hint shown when the input is empty. |
helpText | string | One-line description shown below the input. |
Gotchas
- Browser-level validation is light. For stricter checks pair with
validation.patternor sanitise server-side withsanitize_email().
Example
{ "id": "ctrl_contact",
"type": "email",
"label": "Contact email",
"attributeKey": "contact",
"parentPanelId": "panel" }Every field also takes the keys common to all fields.