added validations to poroduct form