W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2008

[whatwg] Radio controls shared with multiple forms

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 28 Oct 2008 18:52:08 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0810281851030.1237@hixie.dreamhostps.com>
On Tue, 19 Dec 2006, Anne van Kesteren wrote:
>
> The draft should probably be more explicit about:
> 
>   <input type="radio" name="A" form="form1">
>   <input type="radio" name="A" form="form1 form2" checked>
>   <input type="radio" name="A" form="form2">
> 
> Assuming "form1" and "form2" both exist selecting the first control will 
> unset the controls associated with "form2" in Opera's current 
> implementation.
> 
> Our preferred solution is that in case of radio controls only the first 
> entry in the form="" attribute counts. If that happens we'll update our 
> implementation in due course.

On Thu, 27 Sep 2007, Anne van Kesteren wrote:
> 
> This problem is also present for required checkboxes:
> 
>   <input type=checkbox name=a form="b c" required>
>   <input type=checkbox name=a form=c>

This is moot now that form="" only takes one ID and controls can only be 
in one form.

Cheers,
-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 28 October 2008 11:52:08 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:06 UTC