I have 2 plugins I created that store similar data:
id, name, panel_id, price
id, name, test_id, price
I want to attach my plugin data to an entry, and I need to make sure they can only select one Panel or Test. I want to know if there is a way to add them as a source for Entries as a new field. Or can I create a similar custom fieldtype to be used for both plugins and have that kind of validation?
I'm using Craft V2.6