On 7/26/05, Thomas Sundberg <[EMAIL PROTECTED]> wrote:
> Hi!
> 
> I have a form where a user should be able to request a report. The user
> enters two dates and then presses either a button labeled pdf, html och csv.
> How can I read in my action which button was pressed?

DispatchAction and all its flavors were created specifically for that.

On 7/26/05, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> At least on IE, pressing enter in a text field will submit the form without
> the user pressing _any_ of the buttons.  But IE will send the value for the
> 'first' button on the form.

I think that all browsers submit the form. At least MSIE and Firefox
do. Seems that Firefox always submits the first button, while MSIE
sometimes do not submit any buttons (which is allowed by HTML
specification, which requires that no more than one submit element is
sent to the server).

Michael.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to