using on change instead of keyup for form changes validation