don't save on [Enter] in web form
don't save on [Enter] in web form
(OP)
hello
I have a webform withmy own submit button that checks the form, then saves the document and after this directs to a page ok or error
it runs well
it findas error s and then gets me to the right page but the problem is when someone presses enter while writing in a text field. notes just saves the docuemtn as it is and displays the message "form processed"
how can i supress that notes catches the enter
an event OnPressEnter would be nice ;)
regards
Stephan
I have a webform withmy own submit button that checks the form, then saves the document and after this directs to a page ok or error
it runs well
it findas error s and then gets me to the right page but the problem is when someone presses enter while writing in a text field. notes just saves the docuemtn as it is and displays the message "form processed"
how can i supress that notes catches the enter
an event OnPressEnter would be nice ;)
regards
Stephan
RE: don't save on [Enter] in web form
Never be afraid to share your dreams with the world.
There's nothing the world loves more than the taste of really sweet dreams.
RE: don't save on [Enter] in web form
I have never seen before any java,
so where to get the event object, and how to return sth.
I have only some little experiences on LotusScript but I think It won't be the same, or?
thanks in advance
Stephan
RE: don't save on [Enter] in web form
return(event.keyCode!=13)
The browser will check to see if the key pressed was enter and do nothing if the enter key was pressed, all other keys will function normally.
Never be afraid to share your dreams with the world.
There's nothing the world loves more than the taste of really sweet dreams.
RE: don't save on [Enter] in web form
Thank you so much dwarthrower
Stephan
RE: don't save on [Enter] in web form
Woonjas
IRC: #notes on EFNet
RE: don't save on [Enter] in web form
Fight?

What fight?