Home › Forums › JavaScript › Cache form? › Reply To: Cache form?
July 21, 2014 at 10:18 am
#176046
Participant
You can write a proxy php file that does the actual form validation and then just call it through an AJAX request with (e.g.) jQuery.
It’s not that hard to do, it’s secure (because the actual validation is done in PHP) and it allows you to stay on the same page (awesome!).
This might be a good start:
http://blog.teamtreehouse.com/create-ajax-contact-form