Try here: http://www.coldfusionjedi.com/index.cfm/2009/1/18/Mixing-client-side-dynamic-forms-with-dynamic-ColdFusion-form-processing
-----Original Message----- From: Robert Nurse [mailto:[email protected]] Sent: Wednesday, September 14, 2011 11:18 AM To: cf-talk Subject: Dynamically Added Form Fields Not Submitted Hi All, I've written some Javascript that will dynamically add "file" type inputs to a form. Or, so I thought. They show up on the page just fine when the control is clicked. But, when I submit the form to the CF template, those form fields are absent from the form structure. The added fields are displayed in a table that is within the form tags. The JS code adds table rows (TR) then cells to that row then the file inputs to the cells. All this is done using DOM methods like appendChild(), createElement(), createTextNode(), etc. Is there some extra step needed in either JS or CF to make sure the added fields are made part of the form? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347460 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

