Captcha form field type

From Joomla! Documentation

Revision as of 04:38, 20 November 2015 by Garkell (talk | contribs) (Change this to show how to use the captcha formfield rather than how to use the plugin type to select a captcha plugin.)

Provides the use of a captcha plugin.

  • type (mandatory) must be captcha.
  • name (mandatory) is the unique name of the field.
  • validate (mandatory optional ?) must be captcha.
  • label (mandatory) (translatable) is the descriptive title of the field.
  • description (optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.

Example XML Definition:

<field name="captcha" type="captcha" validate="captcha"
	label="COM_CONTACT_FIELD_CAPTCHA_LABEL"
	description="COM_CONTACT_FIELD_CAPTCHA_DESC" >
</field>