             }
             
             self.placeholderHideInProgress = false
-
-        }
+        }
+        
+        self.acceptButton = UIButton.buttonWithType(UIButtonType.Custom) as? UIButton
+        self.acceptButton!.setBackgroundImage(UIImage(named: "accept"), forState: UIControlState.Normal)
+        self.acceptButton!.frame = CGRectMake(self.bounds.width, 2.0, self.bounds.height - 4.0, self.bounds.height - 4.0)
+        self.acceptButton!.backgroundColor = UIColor(red: 0.5, green: 0.75, blue: 0.5, alpha: 1.0)
+        self.acceptButton!.layer.cornerRadius = self.bounds.height - 4.0 / 2
+        self.acceptButton!.userInteractionEnabled = true
+        self.acceptButton!.hidden = true
+        self.acceptButton!.addTarget(self, action: "acceptButtonTouchUpInside", forControlEvents: UIControlEvents.TouchUpInside)
+        self.addSubview(self.acceptButton!)
     }
     
     override func layoutSubviews() {

            }
        }
    }
    
    func shake() {
        self.layer.transform = CATransform3DMakeTranslation(10.0, 0.0, 0.0)

    @IBInspectable var maxValue: String?
    @IBInspectable var pattern: String?

    static let VALIDATION_TYPE_INTEGER = "integer"
    static let VALIDATION_TYPE_TEXT = "text"
    
    var validationDelegate: CKTextFieldValidationDelegate?
    
    override var delegate: UITextFieldDelegate? {
