Can anyone point me in the right direction for using a Regular Expression in a 
cfinput? I read one of Ben Forta's tips of the day that said you can use RegEx(s) in 
cfinput like <cfinput name="InputName" pattern="?SomeRegEx?" 
validate="regular_expression"> to validate information in the fields.  I want to write 
one to validate an email address.  Currently, I validate the email address with a UDF 
and then pass em back to the form with a js alert and redirect.  I've written a few 
RegExs before and I really don't know if this would work best for this or not, but it 
might be somewhat cool to do it immeditaely on the client -side.  All the previous 
RegExs I've written are in the find and replace variety so I don't know quite where to 
start, but I just thought I'd toss this out to y'all and see 
what comes back->

Tyler Silcox
email | [EMAIL PROTECTED]


______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
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