- From: Carsten H. Pedersen <chp@visholm.dk>
- Date: Tue, 8 May 2001 10:31:27 +0200
- To: "nicolasalfonso" <nicolasalfonso@arrakis.es>
- Cc: <www-html@w3.org>
> Hi all! > > Well, i don´t know if i have enough experience to ask you, but you have > the accesskey attribute to focus the input tag that you want on > pressing the key referenced on this attribute. You can avoid submitting > the form putting the OnSubmit="return false;" in the form tag and > finally you can submit the form that you want putting > OnClick="this.form.submit()" into the button tag... but i think it´s a > little bored..... I should perhaps have mentioned in my first post, that one goal of the proposed change is to avoid having to use scripting. Users may elect to turn off scripting for any number of reasons, and as HTML developers we should support this. / Carsten -- Natural selection saw to it that professional heroes who at a crucial moment tended to ask themselves questions like "What is my purpose in life?" very quickly lacked both. -- (Terry Pratchett, Interesting Times) > > So i think it will be a good idea... > > Nicolás Afonso Alonso > Ldo. En Ciencias Químicas > Departamento I+D Evolución Informática Sanitaria > > ----- Mensaje Original ----- > Remitente: "Carsten H. Pedersen" <chp@visholm.dk> > Fecha: Lunes, Mayo 7, 2001 11:22 am > Asunto: Default submit buttons > > > I would like to start a discussion regarding a popssible > > change in the HTML specification. > > > > Background: In August 2000, I posted the following message > > on the php-general mailing list: > > ----------- > > I have a <form> with two different submit buttons. > > > > If the user presses [Return] while filling out the form, > > this is equivalent of pressing the *first* of the buttons > > in the HTML. > > > > How do I specify that the default submit button should > > be the *second* one defined? > > ------------- > > > > I never received a good answer to this, but since posting > > I have received numerous e-mails asking "did you ever find > > a solution to the problem?" > > > > I still receive these, 9 months after my initial query to the > > list. Thus, it seems that there really is a need in the > > HTML community to be able to specify which submit > > button should be the default. > > > > Maybe it would be a good idea adding a "default" qualifier > > to either the <input type='submit'> tag or the <form> tag in > > the HTML specification. > > > > Any comments/suggestions appreciated. > > > > > > / Carsten > > -- > > Natural selection saw to it that professional heroes who > > at a crucial moment tended to ask themselves questions > > like "What is my purpose in life?" very quickly lacked both. > > -- (Terry Pratchett, Interesting Times) > > > >
Received on Tuesday, 8 May 2001 04:31:34 UTC