I just upgraded my server from 6.1 to 7 and just found out that none of my
regular expressions are working in forms that validate email addresses. Did I
miss something during the code migration? I assumed that the code would work
ok on the new server?
Any thoughts?
<cfinput type="text" name="Email" message="A valid email address is required!"
required="yes" size="25" maxlength="50" validate="regular_expression"
pattern="^[a-zA-Z0-9-'\+~]+(\.[a-zA-Z0-9-'\+~]+)*@([a-zA-Z_0-9-]+\.)+[a-zA-Z]{2,7}$"
class="normal">
Thanks!
Jim H
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285886
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4