I’ve setup a radio field with 4 options. I want to toggle a field if any of 3 of the options are set, but not on the forth. The instructions say that you can set multiple conditions, but they must all be true to toggle the field. This means it cant ever work with radios. hope fully that possibility will come. Is there a work around?
This is what I have (but doesn’t work)…
herotype:
label: Hero Type
type: radio
columns: 4
options:
color: Color
image: Single Image
slides: Slides
video: Video
tinthero:
label: Tint Hero
type: toggle
width: 1/2
when:
herotype: image
herotype: slides
herotype: video
Guess you have to wait a bit for this to be supported. We definitely need something like that, maybe even using query language instead of typing three options.
We never said it would not be. The current limitation to AND is simply one of implementation. With 3.1 it was more important to get out a first working solution to see how stable this one would prove itself and later build on it. You might like to know that OR conditions are on the roadmap for 3.2: https://roadmap.getkirby.com