Skip to main content
added 38 characters in body
Source Link
Jimajamma
  • 17.1k
  • 1
  • 28
  • 35

YouIf you are creating the form youself, you should be able to do something as simple as this:

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

where 'YOURFIELDSET' is the Submit Your Book fieldset. (Just don't have the Captcha automatically add it itself.)

You should be able to do something as simple as this:

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

where 'YOURFIELDSET' is the Submit Your Book fieldset. (Just don't have the Captcha automatically add it itself.)

If you are creating the form youself, you should be able to do something as simple as this:

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

where 'YOURFIELDSET' is the Submit Your Book fieldset. (Just don't have the Captcha automatically add it itself.)

Source Link
Jimajamma
  • 17.1k
  • 1
  • 28
  • 35

You should be able to do something as simple as this:

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

where 'YOURFIELDSET' is the Submit Your Book fieldset. (Just don't have the Captcha automatically add it itself.)