Automated HTML Form Validation

When Auto Form Validation is enabled, the MTCaptcha widget will automatically prevent the HTML form submission unless the captcha is solved. It will also show a ‘please complete’ prompt message as below if captcha is not solved on attempted form submission.

mt-required.png

To enable auto form validation, use the ‘autoFormValidate’ javascript config param.

<script>
 var mtcaptchaConfig = {
  "sitekey": "<YOUR SITE KEY>",
  "autoFormValidate": true
}
...
</script>