Ajax Form Submission using Prototype Class with opening FORM tag places between TABLE ELEMENTS

NEW
Unassigned

Status

()

--
minor
11 years ago
9 years ago

People

(Reporter: jaco.olivier, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(2 attachments)

(Reporter)

Description

11 years ago
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

Comment 1

10 years ago
Created attachment 399394 [details]
Minimal Working

Comment 2

10 years ago
Created attachment 399395 [details]
Minimal not working

Comment 3

10 years ago
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>

Updated

10 years ago
Duplicate of this bug: 373204

Updated

10 years ago
Duplicate of this bug: 394719

Comment 6

10 years ago
Confirmed?
Status: UNCONFIRMED → NEW
Ever confirmed: true
So what exactly is this bug about?  You're adding nodes via the DOM but not making them kids of the form, right?
You need to log in before you can comment on or make changes to this bug.