>I have a typical form where there are 10 - 15 form variables that must >be passed through multiple templates... > >I have always used the hidden input method ><input type="hidden" name="whatever" value=#whatever#> > >Is there a way to take all those hidden input lines and put them into >one variable and just pass that one variable from template to template >rather than having 15 - 20 hidden input lines in each template? > >Or is there some other good technique for this? > >TIA >Tim
Tim, Ben Forta wrote a very good custom tag call CF_EmbedFields. From the writeup on the Macromedia Exchange: CF_EmbedFields simplifies the process of creating multi-part HTML forms. A single call to this tag (without any attributes) embeds all passed form fields in the form as hidden fields. You can get it at the MM exchange, http://www.macromedia.com/cfusion/exchange/index.cfm#view=sn106&viewName=Exchange%20Search%20Details&loc=en_us&authorid=19588859&page=0&scrollPos=0&subcatid=0&snid=sn106&itemnumber=8&extid=1000001&catid=0 and for those who are wrap challenged: http://www.houseoffusion.com/tiny.cfm/95 hth, larry -- Larry C. Lyons Web Analyst BEI Resources American Type Culture Collection email: llyons(at)atcc(dot)org tel: 703.365.2700.2678 -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187099 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

