tags:

views:

687

answers:

2

How can I add CAPTCHA (version 6.x-2.0-rc3) to custom form in Drupal 6?

Is it just me or is it really difficult to find any good documentation on Drupal....

A: 

what do you mean by 'custom form' as there's many interpretations of those words ..

meanwhile did you find this captcha/drupal video tutorial ?

Scott Evernden
In a module using a form array. I figured you would be able to attach CAPTCHA simply by listing it in the array.
EddyR
+1  A: 

A quick search in the CAPTCHA issues queue led me here.

The key example code seems to be:

$form['captcha'] = array( '#type' => 'captcha', '#captcha_type' => 'captcha/Math', );

There is also some good information in the module readmes.

Grayside

related questions