In any application, form validation and submission to server is so common and redundant; there are multiple ways of doing it. And the best and easiest way that I do use or recommend is jQuery solution.    Most popular jQuery plugins are the best solution, they have the best solution ever.    One, jQuery Validator  written and maintained by Jorn Zaefferer, a member of the jQuery team, lead developer on the jQuery UI team and maintainer of QUnit.   Two, jQuery Form  by malsup, it has various plugins and solutions. Another plugin that I like from same developer is jQuery BlockUI . (give a try).                   Name:      Email:         Note: To avoid unexpected behavior, maintain same form and fields names and id selector values.  Need further explanation, let me know.