add form field validation