Archive of:
Fusebox
Cold Fusion Fuse Box List
home
24 hour view
quick stats
weekly updates
all tallylists
corporate solutions
archive your favorite
help / feedback
About CF Fusebox Methods :
product's home
product's list home
|
|
Archived TallyList / Fusebox:
Subject: form validation parent/child tags
Ken Beard (14p/+0r) Posted: Friday 11 May 2001 This post: 116 views, +0 rating
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 anon_tyrant@yahoo.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/fusebox@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Similar Subject Line Posts (+/- two weeks of this post)
| form validation parent/child tags | 11 May 2001 (this post) |
(116 v/ +0 r) |
| Send a reply to the Fusebox list! |
 |
NOTE: Many lists will reject your post unless you have already registered with them. Also - don't forget the right account to send from (for those with multiple emails!) |
|