Quantcast
Viewing all articles
Browse latest Browse all 290743

How to make ajax (spry+php) captcha field?

Hi I would like some help please. I'm having a contact form in which I have some spry text fields validated on blur and also I have made a server-side validation on them (PHP). My problem is that I also have a captcha field which currently has only the php validation and I'd also like to add some spry validation on blur. In fact what I'd like to do is when the user submits the captcha and moves on to the next field to throw him an error if the given code doesn't match to the generated one, without pressing the button (just like validate on blur does in spry text fields - some Ajax functionality).

 

How can I make this work?


Viewing all articles
Browse latest Browse all 290743

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>