Skip to content
simmontali edited this page Sep 24, 2019 · 1 revision

Email

{
  "type": "email",
  "id": "input-email",
  "value": "value",
  "label": "input-email",
  "description": "description",
  "size": "half",
  "step": 2,
  "readOnly": true,
  "placeholder": "placeholder",
  "required": true
}

The email field can input/output an email.

Options

For the general settings fields, check the getting started page.

Custom options

The email field has two additional options:

  • "placeholder" stores a placeholder for the field, which is displayed in editing mode.
  • "defaultValue" contains the default value for the text field.

Filters

You can filter the field's fetched value by calling WordPress' add_filter with the tag "aeria_get_base".

Clone this wiki locally