An email address must contain at least a ‘@’ sign and a dot (.).
If the data entered by a client was incorrect or was simply missing, the server would have to send all the data back to the client and request that the form be resubmitted with correct information.
Lisa Wollin Microsoft Corporation May 2004 Applies to: Microsoft® Office Front Page® 2003 Microsoft Front Page 2002 Microsoft Front Page 2000 Summary: Learn how validate HTML form fields using Java Script in Microsoft Office Front Page 2003.
This article assumes a general understanding of HTML and Java Script.
I'll include the code below, but you can run/fork it on Codepen.
HTML One thing I know could be improved is where I repeat basically the same code twice to validate the characters in each section.