Hello all!
Is there a way to make a button on a form be activated by default (by pressing ‘return’ on the keyboard) even though it does not have the focus on it?
It comes instintively to press ‘return’ after typing, say a password, for example, but the log in button is not activated because it does not have the focus on it…
Thank you in advanced for any comments/suggestions!
Greets,
Marco
Thanks for your reply Darya!
I’ll try to give you a sample over the next few days…
But the idea is very, very simple:
I have a form with 2 input boxes and a submit button…
you fill the first input and hit tab…
(focus passes to the second input)
you fill the second input and hit tab again…
(now focus passes to the submit button)
and finally hitting ENTER submits the form…
All I would like to do, if possible of course, is not having to hit tab a second time but just by hitting ENTER after typing in the second input you would automaticaly submit the form!