In this week’s video tutorial, I’ll teach you how to take a simple, boring contact form and add some animations and an AJAX post request to submit the form to your MySQL database asynchronously.
In addition, we’ll also implement a bit of server and client-side validation to better secure our data. When submitting to the database, we’ll also review the most secure methods, including the use of prepared statements, which will bind the necessary values to each query, rather than embed them.
Screencast
*Note – please forgive me, but I had a slight cold when recording this. I apologize if my words are a bit mumbled.
Other Viewing Options
Conclusion

This screencast demonstrated just one way to animate your contact forms. Truthfully, it’s probably a bit too much for a regular site! :) But we’re here to have fun with it. If you decide to implement something like this into your own site, perhaps a more toned down version, please do leave a comment with a link to the page for our review!
- Follow us on Twitter, or subscribe to the Nettuts+ RSS Feed for the best web development tutorials on the web.
- Yosy
- http://inspiredbywordpress.co.uk Daniel Groves
- Yosy
- Stoian Kirov
- Stoian Kirov
- http://mokshasolutions.com Moksha Solutions
- Anil Kiral
- http://www.joomblocks.com Robbert
- http://www.phpandstuff.com Burak
- reg4c
- reg4c
- http://os.laroouse.com esranull
- Alex Högberg
- Gabriel
- Jeff
- ibrahim K
- http://www.nucleargorilla.com Alex
- Ali Baba
- http://LavishImage.com Imamu Hunter
- Robert
- Hannes
- http://dev-tips.com Drew Douglass
- Colin
- Colin
- Dimby
- Dimby
- a77icu5
- Paul du Long
- w1sh
- http://tutsvalley.com Slobodan Kustrimovic
- Kwaa
- Kwaa
- Kwaa
- Jay
- leo rapirap
- http://blog.eyoosuf.com Yoosuf
- Cerium
- EvilCerium
- http://www.k-design.ro Ionut Bucur
- http://talosmedia.net/ PandaMaster
- http://tutorial-city.net/ Tutorial City
- http://net.tutsplus.com Jeff
- http://tuvidaloca.net Rata
- http://zettersten.com Erik Zettersten
- http://tutorialblog.info/ tutorial blog
- AA
- Hello
- Hello
- http://www.bopjodesign.com bopjo
- http://www.bopjodesign.com bopjo
- http://www.bopjodesign.com bopjo
- Joshua Spillers
- Joshua Spillers
- http://thx2madre.tistory.com Irene
- John
- http://spotdex.com/ David Moreen
- http://designintheraw.com Roy Ho
- Joshua Spillers
- http://www.ifoneapps.de Michael
- http://thwdg.com Rodrigo Flores
- http://www.alittlephotoshop.com/ Greg McAusland
- Sean
- josh
- http://cloudica.net/ Sam J
- http://blackmjck.net Steven W
- http://www.helloworlder.com helloworlder
- WebQueen
- l4yn3
- carlos
- http://www.peperuka.com/ TheBigBoss
- http://twitter.com/aelien Alan C

