 
         if self.valid == false {
             self.valid = true
+            self.updateValid(self.valid)
         }
 
         self.textFieldDelegate?.formTextField?(self, didUpdateWithText: self.text)

            self.layer.borderColor = self.invalidBorderColor.CGColor
            self.textColor = self.invalidTextColor
        }
    }

    public func validate() -> Bool {
        var isValid = true
        if let inputValidator = self.inputValidator {
            isValid = inputValidator.validateString(self.text ?? "")
        }

        self.valid = isValid

        return isValid
    }

        }
    }

    private(set) public var valid: Bool = true

    public var inputType: FormTextFieldInputType {
        didSet {
