Use ajax to validate the fields in forms before the user selects submit thereby reducing the frustration for the user to recheck fields & also enhances the usability of the form. This tutorial uses jQuery & PHP to validate forms for username & field check.
Form field live validation - jQuery & PHP
Related posts:
