try this

<CFIF 
(REFindNoCase("[[:alnum:]_\.\-]+@([[:alnum:]_\.\-]+\.)+[[:alpha:]]{2,4}",
address))>
True
<CFELSE>
False
</CFIF>






"Success is a journey, not a destination!!"



Doug Brown
----- Original Message ----- 
From: "Douglas Jordon" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, March 04, 2002 3:25 PM
Subject: submitting forms with mozilla


> When I submit a form with mozilla, this validation(which I got from 
this 
> list, thank you) always fails, although it will work in IE:
> 
> <CFIF
> 
refindnocase('(^[a-z0-9]([._-]?[a-z0-9]+)*+\@[a-z0-9]+([.-]?[a-z0-9]+)*\.
[a-
> z]{2,3}$)', trim(form.email), 1)>
> valid
> <CFELSE>
> invalid
> </CFIF>
> 
> 
> I've tried all of these various ENCTYPE attributes: 
> "multipart/form-data"  | "application/x-www-form-urlencoded" | 
"text/plain"
> 
> Anyone ever run across this?
> 
> TIA,
> 
> Doug Jordon
> 
______________________________________________________________________
Why Share?
  Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to