add/edit item-details validations