cfform and regex question


i'm trying make sure email address in correct format, using
this regex:

<cfinput type="text" name="contactemail" id="contactemail"
validate="regular_expression"
pattern="^([_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*\.
(([a-z]{2,3})|(aero|coop|info|museum|name)))?$" message="email not in
correct format.">

when form submitted, still processes incorrectly formed email
address without complaint.....


if using mx 7, new attribute called "mask" has been added.

- mike


More discussions in ColdFusion


adobe

Comments

Popular posts from this blog

CAN'T INSTALL MAMBELFISH 1.5 FROM DIRECTORY - Joomla! Forum - community, help and support

error: expected initializer before 'void'

CPU load monitoring using GPIO and leds - Raspberry Pi Forums