How to create parent relationship among attributes?

Hi,

Please refer to this topic: Create two dependent Select attributes

Hope this is helpful.