PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » HTML » HTML_QuickForm » Bug #8666

Static elements not displaying through groups

Details

Submitted2006-09-08 17:39 UTC
Fromcourts at siam dot org
StatusBogus
PackageHTML_QuickForm
PHP Version5.1.1
OSWindows XP,
Roadmaps(Not assigned)

Comments

[2006-09-08 17:39 UTC] courts at siam dot org

Description:
------------
When using createElement and addGroup (as shown below) static elements aren't being displayed properly, though addGroup is aware of the elements existing (shown by adding multiple element using createElement and then addGroup -- you'll see multiple record separaters even without the records they're supposed to be separating.

Recent PEAR output from installs (reinstalled just in case):
install ok: channel://pear.php.net/HTML_Common-1.2.2
install ok: channel://pear.php.net/HTML_QuickForm-3.2.6

PHP configure command: cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared"

Test script:
---------------
addElement('static', '', 'Test Output!');
$form->display();

$form2 = new HTML_QuickForm('testform2', 'post');
$buttons[] = $form2->createElement('static', '', 'More testing!');
$form2->addGroup($buttons, null, null, ' ');
$form2->display();
?>

Expected result:
----------------

Test Output!

More testing!

Actual result:
--------------

Test Output!

</form>