Fixed changed-input validation if submit is true