Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

login by clicking enter in the key board with out clicking submit button on the scree

 
athadu pokiri
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an issue, we have login and password on giving login and pw and on clicking submit it is taking to application , we want to go in to application with out clicking on submit button , but by clicking enter button on the key board.how can we do this pl send if You have any info or some link
 
Dileep Kamath
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When you press Enter key the result is the same as clicking on the first submit button on the screen. So if you place your Submit before any other submit buttons like Cancel, then Enter key would work automatically.

If its not possible to do this because of the screen layout then you can add a hidden submit button placed before other buttons.
 
Dom Lassy
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If any field in the form has focus and you have a <input type=submit> button, hitting Enter should automatically submit the form. If you want to submit regardless of where the focus is, you can try this:

Remove the space in "on keydown". The filter won't let me put it in correctly.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic