Now with as many fields as you want
Of course a huge shortcoming of the last Ajax Contact Form, there was the limitation of the fields that I provided. Well now with this version, you can add as many form fields as you want, and they will indeed all be sent to your inbox by way of array_keys sent via $_POST.
Better “Degradability” support
What that means is that this one has a bit better support for those who don’t have JavaScript enabled. It will simply submit the form like normal and return your success or failure message appropriately.
One thing to particularly note this time (since I got a bagillion emails last time about this) is that you only have to configure your mail settings in one spot. Yepper. Just one spot (as it should be (I don’t know what I was thinking before)).
Beyond that, you could even have multiple forms on the same page. Although untested (on my behalf), I believe that you could still do it with the architecture I’ve built.
Better looking code and extendible
Yea, I must admit; the code looks eons better, and it’s namespaced for your convenience. You really should have no problems with any of it conflicting with your current JavaScripty / PHP goodiness sitting in your web pages.
One thing I’d like to particular draw attention to is my effects object which you may freely add to at your discretion.













CyberNews


