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 #10043

hidden field naming

Details

Submitted2007-02-07 10:14 UTC
Fromarchedesign_xxremovexx_ at libero dot it
StatusBogus
PackageHTML_QuickForm_Controller
PHP Version4.3.9
OSDebian 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