Actions

Email form field type

From Joomla! Documentation

provides an input field for an email address.

  • name (mandatory) is the unique name of the parameter.
  • type (mandatory) must be email.
  • label (mandatory) (translatable) is the descriptive title of the field.
  • description description text for the form field.
  • size (optional) determines the size of the field on the screen.
  • required (optional) "true" to enforce a value.
  • class (optional) for styling.
  • validate (optional) makes sure it is an emailaddress.

Example XML Definition

<field name="email" type="email"
        label="JGLOBAL_EMAIL"
        description="COM_ADMIN_USER_FIELD_EMAIL_DESC"
        required="true"
        size="30"
        class="inputbox"
        validate="email" />