Cut & Paste Loose Email Address Check
|
Description: A script that "loosely" checks the contents of a text box to see if the surfer has entered a valid email address (by the presence of the symbol "@"), and if not, cancels the form submission, and signals him/her to re-enter the email address.
Example:
Directions: Simply cut and paste the below code into the <body> section of your page. It contains a form with one box that is checked for "email validity". You can add in more form elements into the form, as you would with any other form.
JavaScript Tools:
Site Info