Email

The “Email” type generates an <input> field, specified for entry of email addresses only. This type adds a server-side validation of an email address. If the input does not contain a valid email address, a flash message warning will be displayed.

It corresponds with the TCA type='input' (default) and eval='email'.

Properties

autocomplete

| Required: false | Type: boolean | Default: ‘false’ |

If set, the autocomplete feature is enabled for this field.

default

| Required: false | Type: string | Default: ‘’ |

Default value set if a new record is created.

placeholder

| Required: false | Type: string | Default: ‘’ |

Placeholder text for the field.

size

| Required: false | Type: integer | Default: ‘20’ |

Abstract value for the width of the <input> field.

required

| Required: false | Type: boolean | Default: ‘false’ |

If set, the field will become mandatory.

trim

| Required: false | Type: boolean | Default: ‘false’ |

If set, the PHP trim function is applied on the field’s content.