#21483 [Fbk->Opn]: hidden-field
| From: | peter at von-der-heyden dot de | Date: | Tue, 07 Jan 2003 10:56:41 +0000 |
| Subject: | #21483 [Fbk->Opn]: hidden-field | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-29294@lists.php.net to get a copy of this message | ||
ID: 21483
User updated by: peter@von-der-heyden.de
Reported By: peter@von-der-heyden.de
-Status: Feedback
+Status: Open
Bug Type: *General Issues
Operating System: WIN32
PHP Version: 4.3.0
New Comment:
Hello,
I mean if I have 2 or more hidden-fields in a form
...
<input type="hidden" name="field1" value="1">
<input type="hidden" name="field2" value="2">
...
And then I click on the submit-button
errorcheck, if okay include("page2.php");
print "$_POST[field1] --- $_POST[field2]";
GET only "1"
I tested with text-fields - no problems, but if I use more then 1
hiddenfields in a form only the first hiddenfield submit!
Previous Comments:
------------------------------------------------------------------------
[2003-01-07 04:43:19] derick@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
------------------------------------------------------------------------
[2003-01-07 04:42:57] peter@von-der-heyden.de
Hello,
if more than 1 hidden-fields in a form, and I post the form only the
1st hidden-field posted. All other fields are not posted!
I make tests in 2 forms.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21483&edit=1