Calling a Button on pressing Enter [Web]
Posted on 2006-11-29
A form in web with 2 fields, 2 buttons , for example fields are Name, Age and buttons are Save Name, Save Age
If I enter Name and press enter, the form says 'form processed'. When the document is again opened, and I enter the age.
I want 'Save Name' button to be called/pressed when name is entered. And when the doc is opened and age is entered, by pressing enter key, I want 'Save Age' button to be called.
whats the way to call a button (or generate its formulas) by pressing Enter key ?