Add form field validation