Newbies Tina H Posted July 28, 2007 Newbies Posted July 28, 2007 I am stuck. trying to write a script that validates the email address that the user enter's into my iwp. all i want to do is check to see if there is a "@" sign in the field somewhere. I have used position and length with the right and the left text functions, and i can't seem to get it to work. any help would be appreciated Thanks Tina
Newbies Tina H Posted July 29, 2007 Author Newbies Posted July 29, 2007 I figured it out, never mind. Sticking with it pays off I guess in the end! my solution was If[Position(email; "@" ; 1 ; 1 ) = 0 it's bad so notify them about it before continuing figured it out that position gives the position number so if it isn't there it would be giving a zero as a response. anyway, thought i would say what i did. Thanks Tina
bcooney Posted July 29, 2007 Posted July 29, 2007 or you could get a bit fancier and use this custom function: IsValidEmail
Recommended Posts
This topic is 6329 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now