             if !isValid {
                 message = "Invalid url"
             }
-            return isValid;
+            return isValid
         })
         
         self.floating = false

            if !isValid {
                message = "Invalid decimal number"
            }
            return isValid;
        })
        self.phoneNumberValidationBlock = ({(text:String,message: inout String) -> Bool in
            let numRegex = "^([+]?[0-9]+)?$"

            let borderlines : [CGPoint] = [CGPoint(x: 0, y: textRect.height - 1),
                                           CGPoint(x: textRect.width, y: textRect.height - 1)]
            if  self.isEnabled  {
                context.beginPath()
                context.addLines(between: borderlines)
                context.setLineWidth(1.0)
                context.setStrokeColor(borderColor.cgColor)
                context.strokePath()
            } else {
                context.beginPath()
                context.addLines(between: borderlines)
                context.setLineWidth(1.0)
                let  dashPattern : [CGFloat]  = [2, 4]
                context.setLineDash(phase: 0, lengths: dashPattern)
                context.setStrokeColor(borderColor.cgColor)
                context.strokePath()
            }
        }
    }
