Re: QuickForm: setValue with select elements

From: Date: Mon, 14 Nov 2005 09:36:39 +0000
Subject: Re: QuickForm: setValue with select elements
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-21907@lists.php.net to get a copy of this message
On 10 nov. 05, at 18:44, Justin Patrin wrote:
setValue is generally not that great to use. Search the ML archives for more. Use $form->setDefaults() instead. -- Justin Patrin
Hi, thanks for the answer. Someone told me to use: $myselect->loadArray($options); which works fine. bye, damien

Attachment: [application/pkcs7-signature] smime.p7s
« previous php.pear.general (#21907) next »