Campo de Formulario, Tipo email

From Joomla! Documentation

Revision as of 13:14, 8 September 2015 by Abulafia (talk | contribs) (Created page with "Campo de Formulario, Tipo email")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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" />