Are you actually adding them as elements to the dom or just adding the html
text to the table data?
I've had this exact issue and gotten around by properly adding the children
to the form.

On Wed, Sep 14, 2011 at 12:17 PM, Robert Nurse <rnu...@gmail.com> wrote:

>
> 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:347480
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to