validate a text box for an email address

M

MajorHal

Hi Experts,
I have a text box in a form that I want to accept email addresses only.
Is there a way to do this? I tried the conventional validation screen,but
nothing there that I can figure out.

Thanks for taking the time to help,
MajorHal
 
E

Ed

Major,

I've not done this for FP, but in Excel programming for Visual Basic
I've used the "regular expression" test
IF LIKE "?*@?*.?*" Then
whatever
END IF

This checks to see if there is any number of any character followed by
"@" followed by any number of any characters
followed by "." followed by any number of any character. I imagine you
could do the same thing
in JavaScript.

I'm a newby here, so you will probably get better advice...

Ed
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top