Added validations and the display of validation errors in the new product form.