I have a clothing order form that I want to use form validation rules on. Some shirt styles are only available in certain colors. "ShirtStyle" is my control name, my goal is that if you choose a shirt style you are only able to select certain colors. If you choose a color not in the validation rule for that style you will get an error that tells you this shirt is not avalaibel in this color. Below is my rule but it does not seem to work but I am not sure what I have wrong. I have 6 shirt styles but I only started with 2 styles to get started.
if ShirtStyle =="Instructor" then not(equals("Red", "Hi-Viz Yellow")) || if ShirtStyle =="Basic" then not(equals("Black", "Red", "Green", "Gray", "Charcoal"))