Add the validation on form