Forums

email and captcha - how to...

Magnum79 06 May, 2012
Hello!
I need help about my 2 questions:

1. How to set a captcha validation without page reload?
Exactly like other fields validations do (with tips on top of the fields) ?

2. How to leave email after page reloaded with wrong captcha ?
Email become to something like that:
 <script type='text/javascript'>/*<![CDATA[*/var prefix = 'ma' + 'il' + 'to'; var path = 'hr' + 'ef' + '='; var addy20323 = 'user' + '@'; addy20323 = addy20323 + 'host' + '.' + 'com'; document.write('<a ' + path + '\'' + prefix + ':' + addy20323 + '\'>'); document.write(addy20323); document.write('<\/a>'); //-->\n/*]]>*/</script><script type='text/javascript'>/*<![CDATA[*/document.write('<span style=\'display: none;\'>');/*]]>*/</script>Этот адрес электронной почты защищен от спам-ботов. У вас должен быть включен JavaScript для просмотра. <script type='text/javascript'>/*<![CDATA[*/document.write('</'); document.write('span>');/*]]>*/</script>

It's a spambot-protection.

Thanks.
GreyHead 06 May, 2012
Hi Magnum79 ,

1) You can't - the Captcha and ReCaptcha both require that the form is submitted. That way they can't be bypassed by turning JavaScript off or some other client-side trickery.

2) You have the Joomla! Email Cloaking Plug-in enabled and it is trying to cloak the sample e-mail in the ChronoForms validation message. Disable the plug-in temporarily to check this is the problem. If you need the plug-in change the plug-ins order so that Email Cloaking runs before ChronoForms.

NB These are Joomla! plug-ins that you manage from Site Admin | Extensions | Plug-in Manager

Bob
Magnum79 06 May, 2012
Thank u very mutch for answers and for the great component. 8)
Magnum79 06 May, 2012
Sorry, I just saw -
JS Validation is not working in IE 9 x64 (both variants).
How can I fix that ?
Magnum79 06 May, 2012
<p> -> <div>
thanks again.

And last question I have to answer:
J! 2.5.4 + Chronoforms_V4_RC3.3
How to do so after successful submitting the form has been a transition to another article?
Not to "thanks message" from form settings.
GreyHead 06 May, 2012
Hi Magnu79,

Use the ReDirect User action

Bob
Magnum79 06 May, 2012
Thank u alot, Bob.
I'll buy you a beer ! 🤣
This topic is locked and no more replies can be posted.