Recaptcha configuration settings
Returns the configured captcha size, or the default if none defined
Returns the configured captcha size, or the default if none defined
The size to use
Returns the configured theme, or "light" if none defined
Returns the configured theme, or "light" if none defined
The theme to use
Returns the configured captcha type, or the default if none defined
Returns the configured captcha type, or the default if none defined
The type to use
Formats a CSS class attribute, including the specified main class and any further classes defined in args.
Formats a CSS class attribute, including the specified main class and any further classes defined in args.
The main class
The further args (if any)
The formatted CSS class attribute
Formats any other CSS attributes (other than class).
Formats any other CSS attributes (other than class).
The further args (if any)
The formatted CSS class attribute
Get the error for the reCAPTCHA field from the form, if any.
Get the error for the reCAPTCHA field from the form, if any.
The form to check
The current Play messages
The error message, if any
Returns the configured public key.
Returns the configured public key.
The public key
Resolves any recaptcha error messages (from message key to message text) and associates it with the specified
fieldname (instead of the default of com.nappin.play.recaptcha.error
).
Resolves any recaptcha error messages (from message key to message text) and associates it with the specified
fieldname (instead of the default of com.nappin.play.recaptcha.error
).
The name of the recaptcha field
The form
The current Play messages
The form, updated if required
Returns the widget no-script URL, with public key and error code (if any).
Returns the widget no-script URL, with public key and error code (if any).
The error code (if any)
The URL
Returns the widget script URL, with parameters (if applicable).
Returns the widget script URL, with parameters (if applicable).
The error code (if any)
The current i18n messages
The URL
Helper functionality for the
recaptchaWidget
view template.