View Single Post
  #2 (permalink)  
Old 10-19-2007, 11:27 PM
joshjones joshjones is offline
WebProWorld Member
 

Join Date: Sep 2006
Posts: 30
joshjones RepRank 0
Default 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
Reply With Quote