Jump to content

Validate the email address


This topic is 6109 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

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

Link to comment
Share on other sites

  • Newbies

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

Link to comment
Share on other sites

This topic is 6109 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.