Re: Quickform select freeze problem
| From: | Justin Patrin | Date: | Sat, 28 May 2005 18:21:57 +0000 |
| Subject: | Re: Quickform select freeze problem | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-19399@lists.php.net to get a copy of this message | ||
On 5/28/05, Alexey Borzov <borz_off@cs.msu.su> wrote:
> Hi,
>
> Massimiliano Arione wrote:
> > There's a strange behaviout in freezing select elements in QF.
> > I want an empty (zero) value in the top of array I use for select
> > fields, to display a nice label (e.g, "choose one").
> > I don't put it directly in the array since I need to validate
> > (server-side) choosen option against the array (via a simple registerrule)
> > But... when I freeze the form, I don't get the choosen option!
> > Instead, I get the "choose" option (I understand it sound a bit
> > confusing, it's simpler to try than to explain)
>
> Looks like this bug:
> http://pear.php.net/bugs/3193
>
I knew I'd seen this problem before. BTW, sorry that my examples are
down, my webserver died a while ago. Any idea when this will be fixed?
It's a very straightforward fix.
--
Justin Patrin