Default action in a form

View: New views
1 Messages — Rating Filter:   Alert me  

Default action in a form

by Achim-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear folks,

I have a problem with a form. In this form there are a textfield and two command
buttons. The first button is intended to be a special server controlled reset
button. This should not be implemented as a reset button (reset="true"). The
second button is the normal submit button for the form.

It seems to me, that woodstock takes the first command button (of type submit)
as the default action of the enclosing form. When the user enters <Enter> in the
textfield the action binding of the first command button is used.

Is it intended, that the first command button is used as a default action (fire
when user enters <Enter>) or is there an other workaround?

Any help is appreceated,

Achim.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...