Email Field

An email address input.

The Email field is an input made for an email address.

Configuration

Go to Modern Fields > Fields groups and add the Email field. Its settings are in the inspector:

Effect
PlaceholderThe hint shown in the empty field.
The Email field settings

An address that is not valid (no @, no domain) is refused on save, naming the field, and the address already stored is kept. The field says so under the address while it is invalid. Emptying the field clears it.

Display the value

The field stores the address as text. Read it with get_field(). antispambot() hides the address from spam robots:

PHP

Textarea Field

Number Field


In this documentation