Fix validate form.