"Chris Hill" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Sun, 4 Mar 2001 17:49:32 -0800, "Garth Wallace"
> <[EMAIL PROTECTED]> wrote:
>
> >"Chris Hill" <[EMAIL PROTECTED]> wrote in message
> >[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> >>
> >> I forgot that there are special rules for html OBJECTs.  It seem to me
> >> that the HTML 4.01 spec means that any object inside a form is a
> >> potentially a form control (17.2.1 object controls).
> >
> >"Potentially" is not necessarily the same as "is".
>
> Any object which cannot provide a value is obviously not a successful
> control as far as form submission goes.

If a checkbox isn't checked, it doesn't provide a value.

> >>  The presence of
> >> a name attribute would be enough indication that the object is
> >> intended to be a control.
> >
> >The presence of a NAME attribute is an indication that
> >the element has a name, nothing more. Names are used
> >in styling and scripting.
>
> Isn't that the id attribute?  The name attribute for OBJECT is
> commented as "submit as part of form" in the DTD and is clearly
> intended for form submission in several parts of the spec.  And even
> with a name used as an id, a object still must be able to supply a
> value to be successful.

I was under the impression that ID and NAME were
synonymous, but ID was preferred.



Reply via email to