Re: Flexy: select->setValue adding different values

From: Date: Sat, 19 Nov 2005 04:41:45 +0000
Subject: Re: Flexy: select->setValue adding different values
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-21999@lists.php.net to get a copy of this message
On Thu, 2005-11-17 at 13:46 +0200, Thomas wrote: > Hi, > > Is it possible to call setValue() on a form element to supply two differing > values, as in <option value="value1">value2</option>? > $element->setOptions(array( 'value1'=>'value2' .... )); $element->setValue('value1') should make that item selected.. Regards Alan > Don't see anything in the documentation. > > Thanks, > > Thomas > > > SPIRAL EYE STUDIOS > P.O. Box 37907, Faerie Glen, 0043 > > Tel: +27 12 362 3486 > Fax: +27 12 362 3493 > Mobile: +27 82 442 9228 > Email: thomas.hochstetter@gmx.net > Web: www.spiraleye.co.za -- Alan Knowles <alan@akbkhome.com>

« previous php.pear.general (#21999) next »