- From: Ian Hickson <ian@hixie.ch>
- Date: Mon, 6 Feb 2012 23:06:22 +0000 (UTC)
On Wed, 11 Jan 2012, Mounir Lamouri wrote: > On 01/11/2012 01:05 AM, Ian Hickson wrote: > > On Tue, 14 Jun 2011, Rafa?~B Mi?~Becki wrote: > > > > > > We already have required attribute and :valid plus :invalid classes, > > > which are nice. However some may want to display additional warning > > > when form wasn't filled correctly. Just some single warning, not > > > specific field-related. Could you consider adding form element class > > > for such a purpose? > > > > > > Example: > > > <p id="err">You've to fill all required fields</p> > > > form:invalid #err { > > > display: block; > > > } > > > > On Wed, 15 Jun 2011, Boris Zbarsky wrote: > > > > > > Yep. I think we should do it. > > > > I've added this to the spec. > > Wouldn't be interesting to have the same thing for <fieldset>? Are there sites that indicate validity of sections of the form in this way? -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 6 February 2012 15:06:22 UTC