Within #743056: Document how to add a CAPTCHA programmatically code is given to provide the CAPTCHA within custom user/register template. How to accomplish this using reCAPTCHA?

Comments

Liam Morland’s picture

Follow those instructions with this:
'#captcha_type' => 'reCAPTCHA'

designate’s picture

Status: Active » Closed (fixed)

Thanks Liam, was struggling with '#captcha_type' => 'captcha/Image', and replace Image with reCAPTCHA which didn't workout. Marking status closed.

Todd Zebert’s picture

Issue summary: View changes

For D7, Captcha 7.x-1.x and reCAPTCHA 7.x-2.x the correct captcha type is 'recaptcha/reCAPTCHA'.

Liam Morland’s picture

Issue summary: View changes