Hi,
I want to add a reCaptcha to a form.
Following the instructions:
Paste this snippet before the closing tag on your HTML template:
script src='https://www.google.com/recaptcha/api.js'
Where and how do I do this in Erpnext?
Regards,
JJ
Hi,
I want to add a reCaptcha to a form.
Following the instructions:
Paste this snippet before the closing tag on your HTML template:
script src='https://www.google.com/recaptcha/api.js'
Where and how do I do this in Erpnext?
Regards,
JJ
Is it possible to use something like this:
function loadScripts(array,callback){
var loader = function(src,handler){
var script = document.createElement("script");
script.src = src;
script.onload = script.onreadystatechange = function(){
script.onreadystatechange = script.onload = null;
handler();
}
var head = document.getElementsByTagName("head")[0];
(head || document.body).appendChild( script );
};
(function(){
if(array.length!=0){
loader(array.shift(),arguments.callee);
}else{
callback && callback();
}
})();
}
You can add it to your Website Script in website module.