Ajax Contact Form Shake shake shake! Shake shake shake! Shake that bootay. Shake yo bootay… Oh, er.. um. Hi. Eh hem. Sorry, I just got caught up in the moment for a second.
Shake shake shake! Shake shake shake! Shake that bootay. Shake yo bootay… Oh, er.. um. Hi. Eh hem. Sorry, I just got caught up in the moment for a second. I was in the middle of doing the classic Apple Shake Dance; you know the one that happens when you filled out an incorrect password. Yea, that one.
Anyway, for any of you out there that sat around for what seems to have been ages for me to update my cheesy Ajax Contact Form, I’ve now rebuilt it on top of the YUI Connection Manager (translation for the teenagers (AJAX!)). Oh yea. Check out the demo in action.
However beyond just the simple experience of a normal contact form, I’ve added some animation that mimics some apple shake down magic (like I was talking about) and of course some simple swooshy up-down yoyo type stuff. And although I haven’t packaged it up for you yet, lemme just tell you about it.
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
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.
One thing I’d like to particular draw attention to is my effects object which you may freely add to at your discretion.