Captcha form field type

From Joomla! Documentation

Revision as of 04:45, 20 November 2015 by Garkell (talk | contribs) (Add namespace but I don't know what it means.)

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.
  • namespace (optional) this is used on the com_contact component but I don't know enough about it to comment.

Example XML Definition:

<field name="captcha" type="captcha" validate="captcha"
	namespace="contact"
	label="COM_CONTACT_CAPTCHA_LABEL"
	description="COM_CONTACT_CAPTCHA_DESC" >
</field>