I have 3 dropdowns and depending and when the value of one changes the value of the others has to change. What should be my best approach of attacking this problems? I was thinking of righting a function for each different possibility and then jut removing and adding the possible values but this could be long and tedious. Is there a better way?