Fwd: Re: Form element dependencies

-------- Forwarded Message --------
Subject:  Re: Form element dependencies
Date:  Fri, 06 Mar 2015 23:51:44 +0200
From:  sisbluesteel <sisbluesteel@aol.com>
To:  Boris Zbarsky <bzbarsky@mit.edu>



True. This could be resolved with wrapping both the control and the
label inside a fieldset-element. The fieldset -element should also
support dependencies (fieldset already supports the "disabled" -attribute).

On 06.03.2015 23:45, Boris Zbarsky wrote:
> On 3/6/15 4:35 PM, sisbluesteel wrote:
>> When the other element is not valid, the dependant element has
>> "disabled" -attribute set. The actual hiding/showing can be done with
>> CSS selectors (":disabled").
>
> Except typically one hides the control and its label at the very
> least, not just the control.
>
> -Boris
>

Received on Friday, 6 March 2015 21:52:48 UTC