PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » HTML » HTML_QuickForm_Controller » Bug #771

Error storing $_POST array values

Details

Submitted2004-02-16 13:59 UTC
Frommax1 at tvattomaten dot se
StatusNo Feedback
PackageHTML_QuickForm_Controller
PHP Version4.3.4
OSwindows xp
Roadmaps(Not assigned)

Comments

[2004-02-16 13:59 UTC] max1 at tvattomaten dot se

Description:
------------
When storing values from post where the name of the input is for instance: name="formData[MyID][Name]" the controller class does not notice that it is an array with several depths.

This results in rather funny errors where for example:
"formData[1][Name]"
"formData[1][Text]"
will result in that text has the MyID of 2.

I've experienced this error when implementing tabsbed controls.

[2004-02-16 14:23 UTC] mansion at php dot net

Can you post a test case please ?