Quickform::updateAttributes() quirk
| From: | Demian Turner | Date: | Wed, 09 Apr 2003 11:45:10 +0000 |
| Subject: | Quickform::updateAttributes() quirk | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-4724@lists.php.net to get a copy of this message | ||
Hi,
I'm having trouble getting attribute values to persist in the $_POST array during successive failures of a rule (eg, re-posting the form).
The problem must be that I have all the elements in an array, eg:
user[firstname]
user[lastname]
...
The above works fine but when <select> or radio values are introduced, by default as a sub-array, they are lost in $_POST.
I believe this part of Quickform's functionality is handled by
HTML_Common::_parseAttributes() and
HTML_Common::_updateAttrArray()
Anyone have any ideas if there's any way to overcome this?
cheers,
Demian