Re: [phplib] Small patch to of_select.inc] From: Fabio Ferrero (nutella <email protected>)
Date: 05/10/01

Il Thu, May 10, 2001 at 09:23:54AM +0100, Taylor, Stewart ha scritto:
> I don't think this is necessary because SELECTS cannot be edited by the
> users.
>
> Plus if I had a select like
> $this->form->ae(array("type"=>"select",
> "name"=>"compare",
> "options"=>array(array("label"=>"=","value"=>"="),
> If after load_defaults etc.. would this changed code select the above values
> correctly???

But if I had a select like this:
$this->form->ae(array("type"=>"select",
                "name"=>"test",
                "options"=>array(array("label"=>"rock'n'roll",
                                "value"=>"rock'n'roll"))));
the actual code will fail because the value contain '.

Bye.

-- 
   ___
  (o.o)
 {(___)}
==="="===
Email: nutella <email protected>
Home: http://nutella.wox.org
ICQ#: 4101811

--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-unsubscribe <email protected> For additional commands, e-mail: phplib-help <email protected>