Good morning,
I tried to insert the reCaptcha and if I type all right, there are no problems, but if I am wrong or not I enter the reCaptcha page is reloaded with all the focus on the head and not on the reCaptcha.
More in the email field the address is deleted and replaced.
Can I set a baloon notification as in the other required fields or set the focus on the error message?
I tried to insert the reCaptcha and if I type all right, there are no problems, but if I am wrong or not I enter the reCaptcha page is reloaded with all the focus on the head and not on the reCaptcha.
More in the email field the address is deleted and replaced.
Can I set a baloon notification as in the other required fields or set the focus on the error message?
Hello Bob
thanks for your answer
I made sure that Custom Element in the Field ID = recaptcha
in Events in the pane on load I put "load js" by inserting the following code:
where Form_Name = my_form_name
the error message also appears in the box recaptcha but the focus does not work ... where am I wrong?
Also, after the error, to refresh the page, instead of the e-mail reads:
thanks for your support
thanks for your answer
I made sure that Custom Element in the Field ID = recaptcha
in Events in the pane on load I put "load js" by inserting the following code:
window.addEvent('domready', function() {
var error = $$('#recaptcha_container_div div.error-message')[0];
if ( error.get('html') !== '' ) {
$('chonoform_form_name').scrollIntoView();
}
});
where Form_Name = my_form_name
the error message also appears in the box recaptcha but the focus does not work ... where am I wrong?
Also, after the error, to refresh the page, instead of the e-mail reads:
<script type='text/javascript'> <! - var prefix = 'ma' + 'the' + 'to'; var path = 'hr' + 'f' + '='; addy72069 var = 'my_mail' + '@'; addy72069 addy72069 + = 'yahoo' + '.' + 'It'; document.write ('<a' + path + prefix +':''\'' + + + addy72069'\'> ') document.write (addy72069) document.write (' <\ / a> ') / / -> \ n </ script> <script type='text/javascript'> <! - document.write (' <span style=\'display: none;\'> ') / / -> </ script> This email address is being protected from spambots. And 'need JavaScript enabled to view it. <script type='text/javascript'> <! - document.write ('</') document.write ('span>') / / -> </ script>
thanks for your support
Hi Mino,
The code can go in a Load JS action in the On Submit event of your form.
Please see this FAQ for the email problem.
Bob
The code can go in a Load JS action in the On Submit event of your form.
Please see this FAQ for the email problem.
Bob
I was editing the post while you answered me :-)
I corrected my procedure I did this:
I made sure that Custom Element in the Field ID = recaptcha
in Events in the pane On Submit I put "load js" by inserting the following code:
where Form_Name = my_form_name
the error message also appears in the box recaptcha but the focus does not work ... where am I wrong?
I corrected my procedure I did this:
I made sure that Custom Element in the Field ID = recaptcha
in Events in the pane On Submit I put "load js" by inserting the following code:
window.addEvent('domready', function() {
var error = $$('#recaptcha_container_div div.error-message')[0];
if ( error.get('html') !== '' ) {
$('chonoform_form_name').scrollIntoView();
}
});
where Form_Name = my_form_name
the error message also appears in the box recaptcha but the focus does not work ... where am I wrong?
Hi Mino,
Have you replaced form_name in chonoform_form_name with the name of your form?
Bob
Have you replaced form_name in chonoform_form_name with the name of your form?
Bob
Hi great Bob :-)
renamed it as you say but nothing, I tried to do this mix:
work, you say
I leave it?
I'm not a programmer ... :-)
renamed it as you say but nothing, I tried to do this mix:
window.addEvent('domready', function() {
var error = $$('#recaptcha_container_div div.error-message')[0];
if ( error.get('html') !== '' ) {
$('recaptcha_response_field').scrollIntoView();
}
});
work, you say
I leave it?
I'm not a programmer ... :-)
This topic is locked and no more replies can be posted.