EddyR
EddyR

Reputation: 6941

Drupal 6: CAPTCHA on a custom form

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....

Upvotes: 1

Views: 4976

Answers (2)

Grayside
Grayside

Reputation: 4194

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.

Upvotes: 2

Scott Evernden
Scott Evernden

Reputation: 39986

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

meanwhile did you find this captcha/drupal video tutorial ?

Upvotes: 0

Related Questions