PDA

View Full Version : Java Script



Jon
08-25-01, 11:20 AM
I am trying to write a java script that will check for certain email addresses in a form and not allow them to be submitted.

I've written a script to check for invalid email addresses (i.e. a comma or space within the address).

an example would be if the user tried to submit the form using an email address of me@juno.net, they would see an alert box telling this type of email address in not allowed and the form would not be submitted.

How do I set up the java script to detect the non acceptable email address?

thanks

Jon

Altema
08-25-01, 12:38 PM
http://www.planetsourcecode.com/xq/ASP/txtCodeId.1942/lngWId.2/qx/vb/scripts/ShowCode.htm


Im not sure if this is what you want, but if thats not it you can try serching this website

http://www.planetsourcecode.com/

Same site but its usefull for other languages.