This short article shows how to create a small Javascript function to automatically validate required form fields and flag them as incomplete. Using a combination of CSS and Javascript this article will demonstrate how to drop in code to check all the required fields on a HTML form without having to specify each and every field. |