Add form validation to Product module class.