validation at add/edit item-details page