From: "Abdullah Jibaly" <[EMAIL PROTECTED]> > I have a form with an <html:cancel /> followed by an <html:submit />. > How can I get the submit to be activated when enter is pressed inside a text box on that form? > It is activating cancel right now.
What I do is put an invisible button at the top of my form. (A button with an image that matches the background of the page. It's there, but you can't see it in most browsers.) Then you can do whatever you want with the rest of the form, hitting enter is like 'clicking' that button. (Technically, I think this behavior is undefined-- an HTML form is really only supposed to have one submit button.) -- Wendy Smoak --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]