         attributes       :
           testpath       : 'register-form-username'
         focus            : -> @unsetTooltip()
-        keyup            : (event) =>
-
-          return unless event.which is ENTER
-
-          modal.modalTabs.forms.extraInformation.submit event
-
+        keyup            : handleKeyup
         validate         :
           container      : this
           rules          :

      fields.firstName =
        defaultValue : givenName
        label        : 'First Name'

    if familyName
      fields.lastName =
        defaultValue : familyName
        label        : 'Last Name'


    modal = new KDModalViewWithForms

      itemClass : KDCustomHTMLView
      partial   : email

    handleKeyup = (event) ->

      return  unless event.which is ENTER
      modal.modalTabs.forms.extraInformation.submit event


    fields.username =
      name               : 'username'
