Closed Bug 135478 Opened 23 years ago Closed 23 years ago

<input> checkboxes in invisible <DIV>s not set

Categories

(Core :: DOM: Core & HTML, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: mwkrus, Assigned: alexsavulov)

Details

Hi, <input type="checkbox"> when set by the user in a <DIV> which is set to style "display:none" when the form is submitted are to sent in the POST query (haven't checked GET method). I have a complex form which is displayed in multiple "tabs" (sample tabs, with no cross-tab form here http://www.newsisfree.com/sources/info/1912/ ). The <form> tags encompasses all the <div>s which are displayed/hidden for the tabs. If the user checks a box in one tabs and than flips to another to submit the form, the POST query does not contain the variable for the checked box.
MIKE K.: please tell us what build are you using. i can recall that this was an issue before but was solved. john, do you know what this might be?
I use build 2002040103...
That was bug 34297, and for checkboxes specifically, bug 108307 or bug 108308. Bug 108309 related too. I can't find any checkboxes in those tabs. Could you post a testcase por favor?
A test page is available here: http://www.newsisfree.com/divtest.php several divs, each with an input check box (checked by default). On submit, it shows the content of the POST variables...
They all submit for me, Linux 2002040706. What I see when I submit is: HTTP_POST_VARS: Array ( [PAGE2] => on [PAGE4] => on [PAGE5] => on [PAGE3] => on [PAGE6] => on [PAGE1] => on [DEBUGDIV] => Update ) Can you please post what you see?
Steps: I just clicked the Update button. I just tried moving around tabs and clicking Update too. When I uncheck one, move to a tab and click Update, it submits everything but the unchecked checkbox, which is right too. So what steps are you using to reproduce and what is the expected output and the actual output you get?
I follow exactly those steps, but on a recent windows build (I'm on the road now, can't check the exact build date) (it's on Win2K, a french version) I always see only one variable, the one for the active tab (if it's checked of course).
OK, with a recent (April 3rd), the bug is gone. Turns out I had an older build (02/02) on another machine. Sorry for the trouble, good luck on 1.0
ok, resolving
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
verifying based on coments
Status: RESOLVED → VERIFIED
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.