If you are using WebMaker v4, then you can do this quite easily by adding an onkeypress event to your textbox, and then use an +?+?++Enter Key Pressed+?+?+? Key Check condition to perform the required functionality.
If you are using an earlier WebMaker version they you will need to use some custom JavaScript to do this checking.
You can do this with an onkeypress event by looking at the keyCode property of the event object. For example the following type of code should work in a Custom Script action.
if (objEventSource.event.keyCode == 13)
{
//enter key was pressed so perform the required actions
}
RE: Default Button
If you are using WebMaker v4, then you can do this quite easily by adding an onkeypress event to your textbox, and then use an +?+?++Enter Key Pressed+?+?+? Key Check condition to perform the required functionality.
If you are using an earlier WebMaker version they you will need to use some custom JavaScript to do this checking.
You can do this with an onkeypress event by looking at the keyCode property of the event object. For example the following type of code should work in a Custom Script action.
if (objEventSource.event.keyCode == 13) { //enter key was pressed so perform the required actions }
I hope this helps.
Regards,
Gerard