Added form validation for product model