Default Button when ENTER is pressed
-
Hi maybe i´m blind - but i don´t find any way to define the default Button of a webform. The only behaviour i would like to get: The Webform starts... the user enters something...and when i now presses the enter key; a Button-Action that i define is called... Does anyone know how to do this ? Because obviously the Enter-Key is bound to nothing but a Refresh Action...
-
Hi maybe i´m blind - but i don´t find any way to define the default Button of a webform. The only behaviour i would like to get: The Webform starts... the user enters something...and when i now presses the enter key; a Button-Action that i define is called... Does anyone know how to do this ? Because obviously the Enter-Key is bound to nothing but a Refresh Action...
Hey Daniel, I think a clientside JavaScript, which can appropriately detect the button (depending upon enabled/disabled) and call its Click method. You can trap the enter key via event.keyCode == 13 and then call this JavaScript. Did this help you? Deepak Kumar Vasudevan http://deepak.portland.co.uk/
-
Hi maybe i´m blind - but i don´t find any way to define the default Button of a webform. The only behaviour i would like to get: The Webform starts... the user enters something...and when i now presses the enter key; a Button-Action that i define is called... Does anyone know how to do this ? Because obviously the Enter-Key is bound to nothing but a Refresh Action...
you are right, there is nothing built in for this. check out my free DefaultButtons control.