Re: Implied NAME attribute for INPUT tag?

Joe English (joe@trystero.art.com)
Wed, 14 Jun 95 20:00:42 EDT

mwm@contessa.phone.net (Mike Meyer) wrote:

> The June 8th draft says:
> <!ATTLIST INPUT
> TYPE %InputType TEXT
> NAME CDATA #IMPLIED
> I.e. - the NAME attribute isn't required, but the application should
> be able to generate one if it's missing.
>
> Is the DTD wrong - should NAME be required?

It's not required for TYPE=SUBMIT or TYPE=RESET,
but it is for all other TYPEs. This an application
convention (see 7.1.2, under "NAME") that can't
be enforced by SGML.

--joe@art.com