2 Replies Latest reply on Nov 12, 2007 4:46 AM by Anja Gruss

    inputText and submitting by Enter

    Anja Gruss Newbie

      Hello,

      this is not exactly a a4j question, sorry for that

      I have a small form with several inputs (text, dropdown) and the a4j:commandButton beneath.

      hitting the button to submit does exactly as I want, but when hitting enter in the form fields the form is submitted the "usual" way.

      The form surrounds a lot more than just that few inputs, so I cannot use the a4j:form. Still I would like some specific form fields to call the same action that is called in their submit buttons when the user hits Enter.

      Has anyone a similar problem and an easy solution to it?

      Thanks a lot in advance.

      cheers
      /anja