Link to home
Start Free TrialLog in
Avatar of toddkeller
toddkeller

asked on

setting up an application page-how do you restrict the enter key to be used similar to the tab key?

I was wondering how you would set this up, say if you had a ton of forms and you don't want people to be able to send the forms by simply pressing enter(by mistake thinking it will take them to the next form)-is this a viable question?- i'm not sure design wise if there is an elegant solution to this? what is your recomendation?
ASKER CERTIFIED SOLUTION
Avatar of trailblazzyr55
trailblazzyr55

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of trailblazzyr55
trailblazzyr55

Just a note, the javascript requires that there as at least one form type of text meaning you have to have one of these...

<input type="text" name="yourFieldName" ... >

hope that helps,
~trail
Avatar of toddkeller

ASKER

That's awesome!, thanks a lot-i've got another question for you i'll post tonight that would be super helpful to me as well, thanks again,
t
Sure, not a problem! I'd be happy to answer any questions you have :o)

Best Regards,
~trail
Thanks for the points :o)