So I’m wondering if ti would be possible to show/hide certain fields based on category selections using JS/CSS.
Thoughts?
In my situation I have Ice Skating Rinks, Roller Skating Rinks and Curling Facilities.
If someone chooses Ice Skating Rinks I have multi-select custom fields for:
Number of Ice Surfaces: 1-20
Surface Sizes: NHL, International, Non-regulation
Activities: Ice Hockey, Figure Skating, Pick-up Hockey, etc.
Or, if someone chooses Roller Skating Rink I have:
Number of Roller Surfaces: 1-20
Surface Types: Concrete, Wood, Synthetic
Activities: Roller Hockey, Quad Hockey, Artistic Skating, Jam Skating, etc.
Or, if someone chooses Curling Facility I have:
Number of Curling Sheets: 1-20
Curling Sheet Sizes: Regulation, Non-Regulation
Activities: Curling, Curling Leagues, Curling Tournaments, etc.
If a facility exclusively offers only one service, it’s not a big deal because I can now only display what’s appropriate.
However, if a facility crosses the boundaries and offers more than one or all three it gets really ugly fast.
So could I use JS to reveal certain classes or divs when a category is chosen?
Just thinking out loud looking for an elegant solution.