Clear html if resubmit not valid