added focus, keyup validation