You want to implement cross-entity validation