validates product form