Drupal 7, Custom Content Type... Does an addon that does this exist?
The obvious choice for that functionality would be the conditional fields module. It's still under development for D7, but you can check if it already supports your use case, or maybe you could even help the maintainer get the D7 version to a stable state.