Hi dear amosbatto,
I use from processmaker 3.2.1 and I want set google recaptcha code in login page of processmaker in login/login path.
I change this sources:
1. workflow\engine\skinEngine\neoclassic\layout.html :
in this source I insert this code in <head> tag :
Code: Select all<script src='https://www.google.com/recaptcha/api.js'></script>
2. workflow\engine\xmlform\login\loginpm3.html :
In this source I insert this code in form :
Code: Select all <fieldset>
<label class="panel-login">
<div class="login_result"></div>
</label>
<div class="g-recaptcha" data-sitekey="6LdCACwUAAAAAF4ElSM1CTMYQo8IlSK9OByrmA1b"></div>
</fieldset>
Now google recaptcha load correctly in login page but when I check "I'm not robot" in form, page have javascript error.
When I comment "mobarak.js" file in login page, It works true.
But I can do this ? Because when I comment it, It doesn't load in other pages after login.
Also when I comment mobarak.js file from login page I get javascript errors that are affiliated to this file like : "var leimnud = new maborak();
leimnud.make( ..."
Thanks