`` I want to validate HTML fields using JavaScript and display error messages beside the respective fields . Also it should display a consolidated error message on the top of the form , something like '' `` Please enter the required fields '' '' . How can I do this ? ''
How do I style html5 error messages for < input fields that are ` required ' ? How can I do that using Jquery ?