Open
Bug 439950
Opened 17 years ago
Updated 2 years ago
Ajax Form Submission using Prototype Class with opening FORM tag places between TABLE ELEMENTS
Categories
(Firefox :: General, defect)
Tracking
()
NEW
People
(Reporter: jaco.olivier, Unassigned)
References
()
Details
Attachments
(2 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0
When placing the Opening FORM tag between <TABLE> & <TR> OR <TR> & <TD> tags the normal form submissions work, but nothing is picked up by Ajax to post through to the next page. This used to work in FF2 and works perfectly in IE, but now has problems and passes empty POST values through.
** It might not be the standard to put the tags there, but if this is a standard issues accross all websites, I see lots of head scratching in the next few weeks.
WRONG:
<table width="100%">
<?php echo form_tag('accounting/exportPaidDebitOrders'); ?>
<tr>
CORRECT:
<?php echo form_tag('accounting/exportPaidDebitOrders'); ?>
<table width="100%">
<tr>
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Actual Results:
EMPTY FORM POST
Expected Results:
SOME VALUES
Added a semi minimal testcase of dynamic form
It works when you have
<form>
<table>
New elements added do not work when you have
<table>
<form>
![]() |
||
Comment 7•15 years ago
|
||
So what exactly is this bug about? You're adding nodes via the DOM but not making them kids of the form, right?
Updated•2 years ago
|
Severity: minor → S4
You need to log in
before you can comment on or make changes to this bug.
Description
•