Clear html if resubmit invalid