simon551 Posted May 9, 2007 Share Posted May 9, 2007 Hi, I have a form with 2 buttons on it. One is a date pop-up button and the other is the 'submit' button. For a normal form, hitting the 'return' or 'enter' key on the keyboard should hit the 'submit' button,, but my form wants to hit the date button when I hit 'enter'. Is there a way to control this? Thanks in advance. Quote Link to comment https://forums.phpfreaks.com/topic/50694-solved-form-problem-button-click-on-enter-key/ Share on other sites More sharing options...
fenway Posted May 9, 2007 Share Posted May 9, 2007 Enter only submits very simple forms. Quote Link to comment https://forums.phpfreaks.com/topic/50694-solved-form-problem-button-click-on-enter-key/#findComment-249320 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.