For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > May 2005 > Re: [PEAR] Quickform select freeze problem









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PEAR] Quickform select freeze problem
Alexey Borzov

2005-05-28, 3:56 pm

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
Justin Patrin

2005-05-28, 8:56 pm

On 5/28/05, Alexey Borzov <borz_off@cs.msu.su> wrote:
> Hi,
>=20
> Massimiliano Arione wrote:
le)[color=darkred]
>=20
> Looks like this bug:
> http://pear.php.net/bugs/3193
>=20


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.

--=20
Justin Patrin
Alexey Borzov

2005-05-28, 8:56 pm

Hi,

Justin Patrin wrote:
>
> 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.


Well, I just went over a (way too long) list of open bugs for HTML_QuickForm and
it has several distinct types of entries:
1) Simple bugs with straightforward fixes;
2) Simple feature requests (esp. for date element);
3) Various hierselect problems

I am going to do 1) and 2) pretty soon (the upcoming w or two), but 3) will
probably require a complete rewrite of hierselect's JavaScript and a good
portion of PHP as well. :( No idea how long this may take.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com