         
         self.isInvalidSignHidden = (_isValid || _isEmpty);
         
-        
         let valid:Bool = (_isValid && (!validateEmpty || !_isEmpty));
         
         if valid {
             if let pNumber:PhoneNumber = self.phoneNumber {
                 self.validText = "+\(pNumber.countryCode)-\(pNumber.nationalNumber)";
             } else {
-                self.validText = self.text;
+                self.validText = self.curText;
             }
         } else {
             self.validText = nil;

        _isEmpty = self.isEmpty();
        
        _isValid =
            (!validateEmail || self.isValidEmail()) &&
            (!validatePhone || self.isValidPhoneNo()) &&
            (!validateEmailOrPhone || (self.isValidEmail() || self.isValidPhoneNo())) &&

        return GISTUtility.isValidForRegex(self.curText, regex: regex);
    } //F.E.
    
    
    /// Method to handle tap event for invalid sign button.
    ///
    /// - Parameter sender: Invalid Sign Button
