Added validation to forms when created new product