Soldato
- Joined
- 18 Oct 2002
- Posts
- 16,030
- Location
- The land of milk & beans
Hi all,
I can't really post much code as the system is very convoluted, but basically I have a form which allows for entry of dates.
When you click a button another row of input fields appears in the form through a javascript function which changes the innerHTML property of the containing div. When the form is submitted after you click to add another row, the post data does not include these fields - it's like they don't exist in the form. Yet if i just submit the form without adding a row, it works fine.
It's like the javascript somehow interferes with the form and although the fields appear and work correctly, they cannot be seen by the page which receives the post.
Can anyone help as I've no clue what's going on.
TIA
I can't really post much code as the system is very convoluted, but basically I have a form which allows for entry of dates.
When you click a button another row of input fields appears in the form through a javascript function which changes the innerHTML property of the containing div. When the form is submitted after you click to add another row, the post data does not include these fields - it's like they don't exist in the form. Yet if i just submit the form without adding a row, it works fine.
It's like the javascript somehow interferes with the form and although the fields appear and work correctly, they cannot be seen by the page which receives the post.
Can anyone help as I've no clue what's going on.
TIA