recaptcha

Render a reCAPTCHA challenge field.

This tag supports the L&F personalization options available for reCAPTCHA widgets by creating a javascript RecaptchaOptions object. You can also get greater control by specifying this object yourself following the reCAPTCHA documentation instead of using the theme attributes available here.

Tag Information
Tag Classorg.loom.addons.recaptcha.RecaptchaTag
Body Contentempty
Dynamic Attributesfalse
Example
<recaptcha publicKey="my-public-key"/>

Attributes

NameDescriptionFlags
publicKeythe ReCaptcha public key to use
requiredrtexprvalue
customThemeWidgetWhen using custom theming, this is a div element which contains the widget. See the reCAPTCHA custom theming section for how to use this.
rtexprvalue
langWhich language is used in the interface for the pre-defined themes. If the language is not supported by reCAPTCHA it will be converted to the default MessagesRepositoryFactory locale.
rtexprvalue
noscripttrue to generate noscript tag, default true
rtexprvalue
tabIndexSets a tabindex for the reCAPTCHA text box.
rtexprvalue
themeDefines which theme to use for reCAPTCHA. Possible values are 'red' | 'white' | 'blackglass' | 'clean' | 'custom'.
rtexprvalue