Joomla captcha Form Field Type

The captcha form field type provides the use of a captcha plugin. Captcha is used on front-end forms to prevent unwanted submission of forms.

Example XML Field Definition

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

Additional Parameters

plugin

namespace

Examples

1. Contact Component

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

2. Content Component

<field
name="captcha"
type="captcha"
label="COM_CONTENT_CAPTCHA_LABEL"
description="COM_CONTENT_CAPTCHA_DESC"
validate="captcha"
namespace="article" />