Added validation to product form