[whatwg] suggestion
Dean Edwards
dean at edwards.name
Tue Jun 8 14:03:45 PDT 2004
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.
-dean
More information about the whatwg
mailing list