make CKF field red when invalid pattern is entered