Re: Another QuickForm question
| From: | Brad Hubbard | Date: | Fri, 14 Mar 2003 01:23:38 +0000 |
| Subject: | Re: Another QuickForm question | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-4224@lists.php.net to get a copy of this message | ||
On Fri, 14 Mar 2003 10:55 Australia/Melbourne, Charles Kline did align ASCII
characters thusly:
Hi again Charles,
> When creating a select menu, I am using this syntax:
>
> $form_get_p->addElement('select', 'person', 'Edit Person:',
> $qper);
What do you see if you do a print_r( $qper ) here?
> $select = &$form_get_p->getElement('person');
> $select->setSize(1);
> $select->setMultiple(false);
At a quick glance all your code looks good but I had a similar problem where
the Quickform code was converting a hex value to it's decimal equivalent
which was not what I wanted. Could this be something similar?
Cheers,
Brad
--
Brad Hubbard
Congo Systems
1/286 Bolton Street, Eltham
Victoria, Australia, 3095.
Email: brad@congosystems.com
Ph: +61-3-94391200
Fax: +61-3-94391255
Mob: +61-419107559