W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > October to December 2004

button tag

From: Luis Fernando Llana Díaz <llana@sip.ucm.es>
Date: Mon, 29 Nov 2004 13:01:55 +0100
To: w3c-wai-ig@w3.org
Message-Id: <200411291302.01086.llana@sip.ucm.es>
Hello,
  I have to make a form where some input controls should send
the form when their contents is changed. It is easely done with 
javascript, but in orden to make it accesible I am considering to
attach a button to each of these "auto-submuit" input controls.

  The form runs correctly in any browser but internet explorer.
I do not know if this is a bug of IE or it is an incorrect interpretation 
of the recomendations. The problem can be summarized as follows, consider
the following form:

    <form action="pr.php" method="get">
      <p>
 <button type="submit" name="one" value="one">First button</button>
 <button type="submit" name="two" value="two">Second button</button>
 <button type="submit" name="three" value="three">Third button</button>
      </p>
    </form>

I think that the server recives only the value ("one", "two" or "three") 
corresponding with the pushed button, that is what mozilla, opera and lynx 
do. But IE6 send the value of all buttons and the value that send is the
button contens ("First button", "Second button" AND "Third button").
You can prove the form in
http://antares.sip.ucm.es/~luis/pr.php

Pleas, could anyone indicate me what is the correct interpretation.

Luis Llana.

-- 
http://antares.sip.ucm.es/~luis

Received on Monday, 29 November 2004 12:02:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:14:18 GMT