Hello, this tutorial shows how to activate Captcha in JS Animated templates.
Captcha is advised to be added in the templates starting from 50000+ only.
In some cases you may need to activate Captcha on your website, for example, to keep out spammers. CAPTCHA effectively tests if you are a human or a machine.
In order to activate Captcha, you should do the following:
Follow this link to register your domain(site). You will get 2 keys:
In “bat/MailHandler.php” file you should input the Private recaptcha key:
In “js/TMForm.js” file you should input the Public recaptcha key:
Then add the following line of code in contact form code in the HTML file before Submit button:
<label class="recaptcha"><span class="empty-message">*This field is required.</span></label>
Enable the script of captcha in HTML file with the form in <head> section, before ТМForm.js enabling:
Now the Captcha is activated.
Feel free to check the detailed video tutorial below:JS Animated. How to activate captcha (reCaptcha),