       fields.firstName =
         defaultValue : givenName
         label        : 'First Name'
-        keyup        : handleKeyup
 
     if familyName
       fields.lastName =
         defaultValue : familyName
         label        : 'Last Name'
-        keyup        : handleKeyup
 
 
     @signupModal = new KDModalViewWithForms

  usernameCheckTimer = null

  usernameCheck:(input, event, delay=800)->
    return if event?.which is 9
    return if input.getValue().length < 4

    KD.utils.killWait usernameCheckTimer
    input.setValidationResult "usernameCheck", null
    username = input.getValue()


      itemClass : KDCustomHTMLView
      partial   : email

    fields.username =
      name               : 'username'
      itemClass          : LoginInputView
