Re: problem with cfinput tag - when validation on, field requires an entry

2009-02-24 Thread andy mann
Bliss and Fisher... Thank you very much. the ? did it andy ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f

problem with cfinput tag - when validation on, field requires an entry

2009-02-19 Thread andy mann
i have a cfform input tag for email address. it is not required that they enter one. on the script below, it works fine when they enter something in field but opens an invalid entry popup if field is left empty. i have required=no... also there are 4 email fields in the form: blm_eml1,

Re: problem with cfinput tag - when validation on, field requires an entry

2009-02-19 Thread Jason Fisher
The RegEx pattern is what's insisting on content there. Add a ? at the end of it to allow 0 or 1 of the pattern, and that should then allow the field to be blank. Something like: pattern=^([0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*@([0-9a-zA-Z][-\w]*[0-9a-zA-Z]\.)+[a-zA-Z]{2,9})?$

Re: problem with cfinput tag - when validation on, field requires an entry

2009-02-19 Thread John M Bliss
Why not just use cfinput type=text name=blm_eml1 validate=email ? On Thu, Feb 19, 2009 at 6:42 AM, Jason Fisher ja...@wanax.com wrote: The RegEx pattern is what's insisting on content there. Add a ? at the end of it to allow 0 or 1 of the pattern, and that should then allow the field to be