code: public void add(JQMSubmit submit) {
          super.add(submit);
          submit.addClickHandler(new ClickHandler() {
              @Override
              public void onClick(ClickEvent event) {
                  submit();
              }
          });
      }
docs: Add the given submit button to the form and automatically have it set
  to submit the form on a click event.