add form validation for new product