GezH
Programmer
- Aug 7, 2002
- 68
Hello.
I have a pretty normal form - a few textfields etc, except that there are two submit buttons. One goes back to the previous page (not javascript but a struts action) and the other goes to the next step.
If you have the cursor placed in any of the text fields and press return, the default action of the form seems to be the 'go back' button. I want the default action to be to go to the next step. Any ideas how I can set this in the form please?
Many thanks!
I have a pretty normal form - a few textfields etc, except that there are two submit buttons. One goes back to the previous page (not javascript but a struts action) and the other goes to the next step.
If you have the cursor placed in any of the text fields and press return, the default action of the form seems to be the 'go back' button. I want the default action to be to go to the next step. Any ideas how I can set this in the form please?
Many thanks!