Yep the clicked button is sent, im sorry, i just tested it. i thought it wasnt sent... but as said its hard to make an automated way to send the clicked button (on a beautiful way). Thanks Steve.
-- Fábio Miranda Costa Solucione Sistemas Front-End Engineer http://meiocodigo.com On Sun, Jul 26, 2009 at 9:59 PM, Steve Onnis <[email protected]> wrote: > > In the case of someone manually interacting with the form, yes only the > button that is clicked will be send with the form but that is not the case > here as you are automating the process and as you are just calling a > form.submit(), how do you know which one has been clicked? > > If you really want to not send them, maybe use links instead of buttons and > have a hidden form field that holds the value you want to send. With the > link you can populate the form field with the value you want and not have > to > worry about the buttons. > > -----Original Message----- > From: daKmoR [mailto:[email protected]] > Sent: Monday, 27 July 2009 6:28 AM > To: MooTools Users > Subject: [Moo] Re: submit form with 2 submit-Buttons > > > hmmm if someone uses <input type="submit"... /> the values shouldn't > be sent right? > or at least that's what I thought... > > I explained it in this way... > > http://www.mooforum.net/help12/submit-button-value-not-sent-trough-request-h > tml-t1959.html#p6523<http://www.mooforum.net/help12/submit-button-value-not-sent-trough-request-h%0Atml-t1959.html#p6523> > > doesn't sound too bad... :p so what's the way to do it? > >
