Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Cache form? Reply To: Cache form?

#176046
TheDutchCoder
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