>To me this seems like a pretty common type of interface. And I'm hoping >there's some people on this list that have built something like this before >.... what I want to know is this -> is there a mechanism to pass form fields >from one form to another w/o hard coding the form field names? I'm sure my >boss is going to want me to add more fields someday ... and I'd like to be >able to do this w/o changing too many things.
There's a form field that gets passed called "fieldnames", I believe, that is a comma-delimited list of all the fieldnames passed from the previous form. If you know, on each page, what field names you're using on THAT form - you could compare that list of fields to form.fieldnames, and any non-matches, create a hidden field var for. Trick with this is, you'd pretty much have to have the lists of field names for each form bit - if you're pulling stuff out of a DB, then you could build up the list easy enough. Otherwise, you'd have to maintain a list variable of fieldnames for each form section. Only one spot though, so adjusting would be cake. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

