Can I do a nested AND / OR statement in Joomla! showon?
At present if a field is hidden but selected then my other field will show.
So:
Type of Vehicle
- Car
- Bike
Car Make
- Alpha
- Ford
- Skoda
Car Colour
- Red
- Blue
If it is a car AND it is an alpha OR a skoda then show the option for colour. At present it requires
if (car) AND (alpha OR skoda)
but we can't do that in Showon can we?
Also, if we have a statement that says if it's a Car then show the Make option that will work. Then we have the Alpha OR Skoda statement for the Colour we have an issue.
But if we choose Car, then we select Alpha OR Skoda, then we go back and change Car to Bike the Colour option will remain in sight because Alpha or Skoda is still selected even though it is not visible. Can we avoid that or do we need to provide additional validation?