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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

e-mail validation

Status
Not open for further replies.

GUJUm0deL

Programmer
Jan 16, 2001
3,676
US
I'm using <cfwindow> to load a "e-mail this link to friend" style feature. I have it working just fine. What I'd like to do is validate the e-mail address is accurate.

The issue is when using a form inside a <cfwindow>, you can't server-side validation because if validation fails, the whole parent page loads and not the <cfwindow>.

I'd like a JS e-mail validation that allows the following:
Code:
somename@company.com
some.name@company.com
some.other.name@company.com
somename@dept.company.com
some.other.name@dept.company.com

I was thinking of regexp, but I suck at that so I came here to the masters.

_____________________________
Just Imagine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top