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:
I was thinking of regexp, but I suck at that so I came here to the masters.
_____________________________
Just Imagine.
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.