Contact Form Processing Products - for all your needs

FormMail • Form Encryption • Hosted Forms


This page documents the REQUIRE_CAPTCHA configuration setting in FormMail.

Type Of Setting

REQUIRE_CAPTCHA is an OPTIONAL setting, which means...

OPTIONAL : you can change this setting if you need to, but the default value is fine for most circumstances.


Forces image verification for form submissions.


Set REQUIRE_CAPTCHA to a non-empty string to ensure that CAPTCHA is required for all form submissions.

Before version 8.10 of FormMail, you needed to implement CAPTCHA by making "imgverify" a required field. To be effective against spammers, you also needed to implement an INI file and put the required specification for the "imgverify" field into the INI file.

From version 8.10, you can use the REQUIRE_CAPTCHA configuration setting in FormMail to ensure CAPTCHA is required, without using a required specification and INI file.

To enforce CAPTCHA, you set REQUIRE_CAPTCHA to a string that will be displayed to the user if they don't provide the "imgverify" field.

Default Value



$REQUIRE_CAPTCHA = "Please enter the image characters";

See Also