Home » HTML » HTML_QuickForm_Controller » Bug #10043
hidden field naming
Details
| Submitted | 2007-02-07 10:14 UTC |
|---|---|
| From | archedesign_xxremovexx_ at libero dot it |
| Status | Bogus |
| Package | HTML_QuickForm_Controller |
| PHP Version | 4.3.9 |
| OS | Debian 3.1 |
| Roadmaps | (Not assigned) |
Comments
[2007-02-07 10:14 UTC] archedesign_xxremovexx_ at libero dot it
Description:
------------
Hidden field report an empty value
Test script:
---------------
This has been added to the RegWizard example
$token = 'test';
$token_id = 'test';
This report always an empty value:
$this->addElement('hidden', 'token_id', $token_id);
This one not:
$this->addElement('hidden', 'token_id', $token);
The element name has to differ from the variable name to appear in the value attrs of the hidden field
[2007-02-07 13:24 UTC] archedesign_xxremovexx_ at libero dot it
register_globals is off