[whatwg] Radio controls shared with multiple forms

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