It's definitely not something that Struts can do, but you can do that using a JavaScript onkeypress handler that returns false if window.event.keyCode== 13. (*Chris*)
On 10/26/06, fea jabi <[EMAIL PROTECTED]> wrote:
Is it possible in struts to disable the functionality of the enter key which would usually execute the first submit button in the page. Can we do this at form level? If so how to do this? Thanks. _________________________________________________________________ Add a Yahoo! contact to Windows Live Messenger for a chance to win a free trip! http://www.imagine-windowslive.com/minisites/yahoo/default.aspx?locale=en-us&hmtagline --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]