                     @suggestionBox?.hide()
                     # domainName.setValidation domainNameValidation
                     domains.hide()
-                    extensionSelect.hide()
                     regYears.hide()
                     checkButton.hide()
                     registerButton.hide()

                  when "subdomain"
                    # domainName.unsetValidation()
                    @suggestionBox?.hide()
                    extensionSelect.hide()
                    domains.show()
                    regYears.hide()
                    checkButton.hide()


    else # create a subdomain
      subDomainPattern = /^([a-z0-9]([_\-](?![_\-])|[a-z0-9]){0,60}[a-z0-9]|[a-z0-9])$/
      unless subDomainPattern.test domainName
        createButton.hideLoader()
        return notifyUser "#{domainName} is an invalid subdomain."
      domainName = "#{domainName}.#{domains.getValue()}"

      @createDomain {domainName, regYears:0, domainType:'subdomain'}, (err, domain)=>
        createButton.hideLoader()
        if err
          warn err
