views:

2380

answers:

5

Does anyone know of a complete Ajax/PHP contact form that includes error handling/form validation and requires minimum effort to setup? It must also still function in cases where JavaScript is disabled.

I'm pretty much looking for a plug and play solution (well, as close to it as possible).

+5  A: 

This one is a few years old, but should work fine.

Personally, I'd recommend taking a look at the jQuery Form Plug-in. It's not plug and play, but it's well tested and easy to build on top of.

berberich
A: 

Thanks for the suggestion. That was my fear, no real plug and play solutions. None of the options I've looked at really compare with this contact form for Wordpress.

Rowan
A: 

There's no AJAX in that contact form for Wordpress. It's basically just posting to the server and giving you a big error page if anything went wrong with your submission.

Something like that is so easy you won't really find a de facto standard. There is even pages where you can select the options (on a form, of course!) and it'll give you all the code you need to make it work. See: http://www.tele-pro.co.uk/scripts/contact_form/

David McLaughlin
A: 

Have you looked at cforms or intouch?

A: 

It'll take some setting up, but the Zend Framework + Dojo provides almost all the functionality you require:

Zend_Dojo

jakemcgraw