Drupal 7 Code Snippet: Alter Captcha Response Text Field

I’m using captcha module to prevent spam on any form of my Drupal site. Captcha module comes with mathematical or images captcha question.

To alter the captcha response text field on drupal 7, you need to write some code on your template.php or create a custom module for it. I only use template.php instead of custom module.

Edit your theme’s template.php file. If the file is not exist, create a new one.

Copy paste this code snippet. Dont forget to modify it 🙂