C
Chris
Hello all,
I have a form on a page that has multiple submit buttons. All three
submit buttons reference the same Action class, but do different tasks
depending on which button was pressed.
The problem I'm having is that when a user is on a certain text field
and presses the enter button on their keyboard, the wrong Submit button
is being used to submit the form. There are four text fields that
should use Submit button A, and one field that should use submit button
B and one field for submit button C. Is there a way to specify which
submit button should be used on a per-text-field basis? If not, is
there a way to specify which submit button to use when the enter key is
pressed on a form-wide basis.
Thanks so much for your help,
--chris.
I have a form on a page that has multiple submit buttons. All three
submit buttons reference the same Action class, but do different tasks
depending on which button was pressed.
The problem I'm having is that when a user is on a certain text field
and presses the enter button on their keyboard, the wrong Submit button
is being used to submit the form. There are four text fields that
should use Submit button A, and one field that should use submit button
B and one field for submit button C. Is there a way to specify which
submit button should be used on a per-text-field basis? If not, is
there a way to specify which submit button to use when the enter key is
pressed on a form-wide basis.
Thanks so much for your help,
--chris.