W3C home > Mailing lists > Public > www-talk@w3.org > November to December 1995

Re: Multiple Submit Buttons in Form

From: Daniel W. Connolly <connolly@beach.w3.org>
Date: Fri, 10 Nov 1995 13:42:29 -0500
Message-Id: <199511101842.NAA13183@beach.w3.org>
To: pat@excalib.com (Pat La Claire)
Cc: www-talk@w3.org
In message <9511101710.AA05278@sparcy.excalib>, Pat La Claire writes:
>I never received a response to the following post, so I will try
>again.


Short answer: Multiple submit buttons are a standard feature
of HTML 2.0.

Long answer...


>I have recently come across multiple submit buttons within a
>single <FORM> in an HTML page.  I had read somewhere that this 
>was *not* allowed (not supported, not recommended) with HTML 3.0. 

I think folks expect it to be allowed in HTML 3.0, when that
spec is published.

In particular, it's allowed in HTML 2.0, as far as I know. Let's
see what the spec has to say...

Err... not much, actually. The relevant section is:

Submit Button: INPUT TYPE=SUBMIT
http://www.w3.org/pub/WWW/MarkUp/html-spec/html-spec_8.html#SEC8.1.2.7

It doesn't say explicitly one way or the other. I suppose this should
be fixed in the six-month update.

There's a subtle clue in:

===========
Form Submission
http://www.w3.org/pub/WWW/MarkUp/html-spec/html-spec_8.html#SEC8.2

When the user indicates that the form should be submitted (using a
submit button or image input),
===========

Note that it say "a submit button," not "the submit button."

>I have run tests with Netscape 1.1, Netscape 2.0 Beta 1, Mosaic 2.0.1
>and MacWeb 1.1.1E (all on a Mac), and Netscape Navigator 1.2N on a 
>PC, and Netscape Navigator 1.1N on a Sparcstation.  All succeeded
>parsing multiple submits.
>
>Am I wrong about this being unsupported by the HTML standard?

If you ask me, yes. If you look at the standard itself, unfortunately,
you might be left wondering.

>Is anyone aware whether it *will* be supported in the near future?

Whether it will be supported in implementations is up to the
implementors. Whether it will be made more clear in future HTML spec
document, I'd say yes.

Dan
Received on Friday, 10 November 1995 13:42:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:18 GMT