I'm using a tapestry (5.1.0.5) form, input and textfiled with autocomplete mixin. What I'm trying to do is to prevent form/input from submitting via enter key pressed. It's quite easy to handle keyup and/or keydown event, but I don't have a clue how to stop/overwrite submitting. Tapestry generates it's own onsubmit event/javascript function and puts it into page code, therefore I can't use onsubmit property in form tag. Tapestry uses/generates something like FormEventManager for the forms where the whole configuration is set.
Any ideas? Perhaps I'm searching to deep, and there's a much more simple solution. -- View this message in context: http://www.nabble.com/prevent-tapestry-%3Ct%3Aform%3E-from-submit-tp24791960p24791960.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
