add a require validate for form