add form validation rule