HTML update for form validation