Develop e-mail validation javascript to check that it's a real company e-mail address
$30-50 USD
Completed
Posted over 11 years ago
$30-50 USD
Paid on delivery
I want you to develop an efficient javascript that will check an input text form asking for e-mail address against a "well-known free e-mail" list (containing e.g. [login to view URL], [login to view URL], [login to view URL] etc, in all more than thousands), to do either of:
A. Just stop the submit, and write out alert-box saying: "This is not a company e-mail address, please enter a valid one", or
B. Give an option, something like:
This is no company e-mail address. Please enter one to get the full information, or, if you don't have any other **[press here][1]** to get just some basic information, but you will miss out on the specifics!
(WHICH WOULD NEED TO ALTER A VARIABLE IN ORDER TO SEND OTHER INFO)
C. Just warn, that this is not a company e-mail address, but don't stop the submit-button.
I do have an actionscript that does this in a flash-form, so if you're helped by that, you can get that code!
The function itself should be in one js-file, while the calling itself should be made around the input-box itself with css to show a warning box like:
.warning-msg { border:1px solid #666e73 !important; background:#e6e6e6 url(images/[login to view URL]) no-repeat 10px 10px !important; color:#000000 !important; }