     @clearSuggestions()
 
     {DomainOption, domainName, regYears, domains} = form.inputs
-    splittedDomain    = domainName.getValue().split "."
-    domain            = splittedDomain.first
-    tld               = splittedDomain.slice(1).join('')
     domainInput       = domainName
-    domainName        = domainInput.getValue()
+    domainName        = form.inputs.domainName.getValue()
+    splittedDomain    = domainName.match(/([\w\-]+)\.(.*)/)
+    domain            = splittedDomain[1]
+    tld               = splittedDomain[2]
 
     domainOptionValue = DomainOption.getValue()
 

class DomainCreationForm extends KDTabViewWithForms

  domainNameValidation =
    rules      :
      required : yes
      regExp   : /^([\da-z\.-]+)\.([a-z\.]{2,6})$/i
    messages   :
      required : "Enter your domain name"
      regExp   : "This doesn't look like a valid domain name."

  constructor:->

    {nickname, firstName, lastName} = KD.whoami().profile

    domainOptions     = [
      { title : "Create a subdomain", value : "subdomain" }
      { title : "I want to register a domain", value : "new" }
      { title : "I already have a domain", value : "existing" }
    ]

    super
      navigable                       : no

                      required        : "Please select a parent domain."
            suggestionBox             :
              type                    : "hidden"
    form = @forms["Domain Address"]
    {createButton} = form.buttons

