yugandhar Posted November 17, 2006 Share Posted November 17, 2006 How can i restrict my html page from navigation, when i press enter on my key board?My html page is a registration form, with many fields. cusor initially points at the username field.When i fill in all the fields and click on submit, it works fine. But when the cusor is at some field in my pageand when i hit the enter button in my keyboard, the page gets navigated.----Plz help me out with a solution. Link to comment Share on other sites More sharing options...
real_illusions Posted November 17, 2006 Share Posted November 17, 2006 you might be interested in this scripthttp://www.dynamicdrive.com/dynamicindex16/disableenter.htm Link to comment Share on other sites More sharing options...
smiles Posted November 18, 2006 Share Posted November 18, 2006 why dont make the page to which be navigated notice users must fill right content and give them a "back" button for repairing Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now