> Can you do that? The email address field is not required, but if something > is in there, I would like it to be valiadated as a properly formatted email > address. > > <CFINPUT > TYPE="text" > NAME="emailAddress" > MESSAGE="Please enter an email address." validate="email" > value="#attributes.EmailAddress#" > size="30" > MAXLENGTH="64">
Yes, you can use VALIDATE without using REQUIRED, and it will behave the way you want it to. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsi ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331416 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

