add simple validate on form