I just started coding an application using fusebox and so far, I'm loving
it. One thing has snagged me up however...
I have one fuse that displays a form and another that validates and updates
the DB. I'm using cf_reuseform in the form fuse and it works great... except
when it comes time to validate the form.
The form validation fuse takes in the form values (including a hidden field
that is essentially a list of required fields) and checks for their
existence among other things. Validating the form is no problem, it's
getting back to the form with the correct values in place that I'm having
problems doing.
I'd like for the user to be sent back to the form with the correctly entered
form values in place and an error at the top of the page describing the
problem (or at least the first problem) that occurred.
Perhaps this is my inexperience with ColdFusion talking, but it seems like
there should be a relatively easy way to do this. (The fusebox book glosses
over it fairly quickly). I'm not sure how to encode the correct variables
back into FORM or URL variables.
Thanks for the help,
Ed
--
Ed Ortega
[EMAIL PROTECTED]
F I R E P L U G L A B S S F
870 Market Street Suite 1001
San Francisco CA 94102
TEL 415 837 1135
FAX 415 837 1174
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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