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
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,
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})?$
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
4 matches
Mail list logo