Re: Please help with my email validation in flash!
try something like this
//set your email varable
Email = your email variable;
//if it's a correct email, then send it
if (!Email.length || Email.indexOf("@") == -1 || Email.indexOf(".") == -1) {
//it's got a problem, show an error message here
} else {
// it's correct, do your sending stuff here
}
__________________
____________________________
"surfing isn't just about riding down a wave, but the experience, motion, aesthetics, views, sounds, and sensations."
Level Four Storefront
|