GCBGutenberg
Control Blocks
Buy

Field type

email

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

OptionTypeDefaultDescription
placeholderstringname@example.comGreyed-out hint shown when the input is empty.
helpTextstringOne-line description shown below the input.

Gotchas

  • Browser-level validation is light. For stricter checks pair with validation.pattern or sanitise server-side with sanitize_email().

Example

JSON
{ "id": "ctrl_contact",
  "type": "email",
  "label": "Contact email",
  "attributeKey": "contact",
  "parentPanelId": "panel" }

Every field also takes the keys common to all fields.

Built from GCB Lite 0.4.0 (ce232d4). Source: schemas/controls/email.md.

Copyright © 2026 Runchain. WordPress is a trademark of the WordPress Foundation.