Fixed validation onKeyUp, but only if the form has been submitted before