Skip to main content

Email

The email field is used to capture valid email addresses from users. This field is essential for forms requiring communication or confirmation emails.

Example

fields:
  user_email:
    type: email
    label: Your Email Address
    placeholder: Enter your email
    required: true
    reply: true
    replyto: true

General Properties

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

placeholder string | array

Optional placeholder value that will be shown when the field is empty.

reply bool false

If set to true, the value of this field will be used as the recipient address for confirmation emails.

replyto bool false

If set to true, the value of this field will be used as the reply-to address for the email sent to the receiver.

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.

Validation Logic

The email field automatically enforces the following rules:

  • Valid Email Address: The input must be a valid email address format. Invalid email addresses will trigger an error.
  • Required Field: If marked as required, the user must provide an email address.