View Full Version : Assigning submit button to the enter key
11-06-2010, 04:28 AM
I have two submit buttons on one form on my site. Is there a way to assign which fields on the form, when enter is pressed, activates a certain submit button and not the other?
11-07-2010, 01:00 AM
Is this even possible?
could be possible, I suppose with some JS. Of course, if you move the cursor using the tab key, to give focus to the correct submit button, the enter key will 'use' it because it has been highlighted.
Is this for a public website? If so, why do something different from the standard way of user interfacing, which can only confuse visitors?
11-07-2010, 03:28 AM
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.