 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."
+
   domainOptions = [
       { title : "Create a subdomain", value : "subdomain" }
       { title : "I want to register a domain", value : "new" }

    {createButton, registerButton} = form.buttons
    @clearSuggestions()

    {DomainOption, domainName, regYears, domains} = form.inputs
    domainInput       = domainName
    domainName        = form.inputs.domainName.getValue()
    splittedDomain    = domainName.match(/([\w\-]+)\.(.*)/)
    domain            = splittedDomain[1]
    tld               = splittedDomain[2]

    domainOptionValue = DomainOption.getValue()

    if domainOptionValue is 'new'

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