Re: Clearing radio_group

From: Alan J. Flavell (flavell_at_ph.gla.ac.uk)
Date: 12/16/04


Date: Wed, 15 Dec 2004 23:55:07 +0000

On Thu, 16 Dec 2004, Mitja wrote:

> > That has nothing to do with Perl nor with CGI.pm: it's a fact of
> > the HTML specification.
>
> Um, in fact:
> http://www.w3.org/TR/REC-html40/interact/forms.html#radio

I know - it concludes with what I considered to be good advice:

| Since user agent behavior differs, authors should ensure that in
| each set of radio buttons that one is initially "on".

> For those, I am positive that most browsers (at least
> IE, Opera, Mozilla) behave in the way you consider buggy.

Alright, I said "could be described as buggy" - and so it could,
relative to the RFC. As far as HTML4 is concerned, the behaviour is
only "undefined". So sue me...

If you're so desperately keen to ignore the W3C's advice, in favour of
doing experiments on a few browsers, then it's up to you. Have fun.


Quantcast