hey fuse-people, I just finished documenting a cool
set of parent/child custom tags I co-authored for form
validation.
Basically they check for required fields and do
datatype validation for about 10 different kinds of
data.. the usual
email,date,time,integer,float,ssn,credit card
number,expiration date, us telephone, us zipcode and
then compile all your custom error messages into one
html string.  Also, you can add your own custom
validation and then just pass the tag a message list,
which is will add to its own list of error messages.  

The cool part: in the fusebox implementation, if there
are any errors, the tag will cfmodule your application
and send all the form variables back thru along with
the error message so when the user enters invalid
information, you send them back to the form and
display an error message.

I've started using err_ files for calls to this custom
tag.  They're up on the allaire dev exchange and on
www.tbcfug.org.
ttyl

Ken Beard
Manager, Tampa Bay CFUG
http://www.tbcfug.org


=====
Ken Beard
cfug manager
Tampa, FL
[EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to