I've installed the Captcha module and I need to remove it from the search button and form (just an unnecessary nuisance there). Captcha configuration allows me to turn it off for specific values of a "Form_ID". I tried that with "search", but I guess the form ID is more complicated than that. What Form_ID(s) do I need to use to get Captcha to stop showing up in search?

Thank you.


For a block, the form_id should be:


and for a page:


To easily find this information, install the Devel module:

A suite of modules containing fun for module developers and themers

and use something like this in your theme's template.php file:

function myTheme_form_alter(&$form, &$form_state, $form_id)


This will show a hierarchical display of all forms on the page - you can then scroll quickly through the info to find what you need. Very handy for searching arrays.


Simple uncheck this "Default challenge on non-listed forms." on admin/config/search/settings

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.