Actions

Captcha form field type

From Joomla! Documentation

Revision as of 18:19, 11 September 2013 by Sovainfo (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

provides a drop down list of the captcha plugins.

  • type (mandatory) must be plugins.
  • name (mandatory) is the unique name of the field.
  • folder (mandatory) 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="plugins" folder="captcha"
        label="COM_CONTACT_FIELD_CAPTCHA_LABEL"
        description="COM_CONTACT_FIELD_CAPTCHA_DESC"
        default="" 
        filter="cmd" >
        <option value="">JOPTION_USE_DEFAULT</option>
        <option value="0">JOPTION_DO_NOT_USE</option>
</field>