|
-
Mar 12th, 2002, 05:05 PM
#1
Thread Starter
Addicted Member
enter e-mail or phone number script...?
Hi,
I want to check e-mail or phone number is entered on my online form so I need a javascript code that can do this!.Thanks
-
Mar 12th, 2002, 05:37 PM
#2
Fanatic Member
-
Mar 13th, 2002, 06:49 PM
#3
Thread Starter
Addicted Member
thanks but your codes seems very complex for me 
my e-mail check code is:
<!-- Begin
function checkEmail(myForm) {
if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(myForm.Email.value)){
return (true)
}
alert("please enter your e-mail adress !")
return (false)
}
// End -->
and I need to add phone number check to this code,can you help me?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|