Re: HTML_QuickForm2: select boxes that depend on each other
| From: | Christian Weiske | Date: | Thu, 20 Dec 2012 09:01:36 +0000 |
| Subject: | Re: HTML_QuickForm2: select boxes that depend on each other | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-31685@lists.php.net to get a copy of this message | ||
Hello Alexey,
>> color="green" -> available shades: "light green" and "dark
>> green"
>> color="blue" -> available shades: "light blue" and "dark
>> blue"
>>
>> The problem I have now is that I don't know how to pre-fill the
>> values of the second select box depending on the values of the
>> first when building the form.
> Why don't you use the hierselect element?
Because I didn't know about it yet :) Thanks for the pointer!
--
Regards/Mit freundlichen Grüßen
Christian Weiske
-= Geeking around in the name of science since 1982 =-