0 Replies Latest reply on Aug 1, 2008 3:06 AM by Angel Ivanov

    Default form submit button

    Angel Ivanov Newbie

      In my form I have rich:toolBar with some h:commandButton over it.
      When the form is displayed the first button in the toolbar is marked for default and when I press ENTER in any h:inputText this button is clicked.
      How can change default form submit button? Is there any way to do that dinamicaly with JavaScript for example?
      Thank you.