code: protected void defaultHandleKeyPress(I_CmsFormField field, int keyCode) {
  
          I_CmsFormWidget widget = field.getWidget();
          if (keyCode == KeyCodes.KEY_ENTER) {
              m_pressedEnter = true;
              if (widget instanceof I_CmsHasBlur) {
                  // force a blur because not all browsers send a change event if the user just presses enter in a field
                  ((I_CmsHasBlur)widget).blur();
              }
              // make sure that the flag is set to false again after the other events have been processed
              Scheduler.get().scheduleDeferred(new ScheduledCommand() {
  
                  /**
                   * @see com.google.gwt.core.client.Scheduler.ScheduledCommand#execute()
                   */
                  public void execute() {
  
                      m_pressedEnter = false;
                  }
              });
          }
      }
docs: The default keypress event handling function for form fields.<p>
  
  @param field the form field for which the event has been fired
  
  @param keyCode the key code