QuickForm problem
| From: | Cesare D'Amico | Date: | Fri, 02 Jan 2004 10:55:50 +0000 |
| Subject: | QuickForm problem | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-9903@lists.php.net to get a copy of this message | ||
Hi all!
I'm experiencing a strange problem with an hidden field in a form: this
lines:
$form->addElement('hidden', 'zione', 'Modifica');
dump_var($form->getElement('zione'));
produce this output (dump_var = var_dump + "<pre></pre>"):
html_quickform_hidden Object
(
[_attributes] => Array
(
[name] => zione
[type] => hidden
[value] => Modifica
)
etc.
If I call the hidden field "azione" or "action", the field is empty:
html_quickform_hidden Object
(
[_attributes] => Array
(
[name] => azione
[type] => hidden
[value] =>
)
All other fields (including two other hidden fields) are working
correctly.
Is there a reason for that? A workaround?
Thanks a lot
ce
--
Cesare D'Amico - boss (@t) cesaredamico (dot) com
http://www.cesaredamico.com
To err is human, to forgive is not our policy.