QuickForm hierselect muiltiple choice problem
| From: | Helder Miguel Rodrigues | Date: | Wed, 02 Jun 2004 00:42:28 +0000 |
| Subject: | QuickForm hierselect muiltiple choice problem | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-12819@lists.php.net to get a copy of this message | ||
Hello!
Im trying tu use 2 selects, an I
wanto to know if it is possible to implement multiple choice in the second select.
I have done this:
$hsfilerelatorioperm = &$form->addElement('hierselect', 'filerelatorioperm', array('Relatório:'), "size=6 MULTIPLE=true");
$hsfilerelatorioperm->setMainOptions($perms);
$hsfilerelatorioperm->setSecOptions(array(array(), array(), array(), array(), $clientsInternet, $clientsInstitucional));
But second select never is populated and it gives me a JavaScript error in IE.
If I get off MULTIPLE=true everything works fine!
There is any solution to be possible to have multiple selections in the second select?
Thanks a lot in advance!