Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Field Validation

Status
Not open for further replies.

alsaffar

Programmer
Oct 25, 2001
165
KW
Hi there,

I want to make some validation for the email field in my form,

I want to make sure that the "@" character is exists and the "." is exists also and the email shouldn't start with a space,

name@domain.com // start with a space
namedomain.com // doesn't have a "@"
name@domaincom // doesn't have a "."

So, I want to avoid people keep on submitting invalid addresses.

How can I achieve this?
 
I've also posted one:

faq434-2408 ______________________________________________________________________
TANSTAAFL!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top