W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2004

[whatwg] suggestion

From: Dean Edwards <dean@edwards.name>
Date: Tue, 08 Jun 2004 22:03:45 +0100
Message-ID: <40C629B1.8060500@edwards.name>
Judah Frangipane wrote:
> I like this specification. I think it is necessary.
> I would like to add a suggested feature to the required field attribute. 
> There are situations where I have a input element or checkbox on a form 
> that has sub form elements that should be required if the first input 
> element is filled out or contains a certain value. For example, let's 
> say I have a fieldset containing form elements in a form that is for 
> singles and there is a fieldset containing form elements for married 
> couples. I have a radio group above that that asks for marital status. 
> If they select single then the single fieldset elements should be 
> required; if they select married then the form elements in the married 
> fieldset should be required.

i think that the deselected fieldset should be disabled. and disabled 
should out-rank required.

Received on Tuesday, 8 June 2004 14:03:45 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:34 UTC