     }
     
     open func setPlaceHolder(_ placeholder:String){
-        self.label.text = placeholder
+        self.label.text = canBeEmpty ? placeholder : placeholder + " *"
     }
     
     override open func becomeFirstResponder() -> Bool {

            if (IBPlaceholder != nil) {
                setPlaceHolder(IBPlaceholder!)
            }
        }
    }
    

    open var validationType : EGFloatingTextFieldValidationType!{
        didSet{
            if validationType != nil{
                switch validationType! {
                case .Email:
                    keyboardType = .emailAddress
                    autocapitalizationType = .none
                    autocorrectionType = .no
                case .Decimal:
                    keyboardType = .decimalPad
                    autocapitalizationType = .none
                    autocorrectionType = .no
                case .Integer:
                    keyboardType = .numberPad
                    autocapitalizationType = .none
                    autocorrectionType = .no
                case .PhoneNumber:
                    keyboardType = .phonePad
                    autocapitalizationType = .none
                    autocorrectionType = .no
                case .WebURL:
                    keyboardType = .URL
                    autocapitalizationType = .none
                    autocorrectionType = .no
                default:
                    keyboardType = .default
                    autocapitalizationType = .sentences
                    autocorrectionType = .default
                    break
                }
            }
        }
