In a Joomla 3.9.3 module, I'm trying, with no luck, to show/hide a field with showon by checking the values on other three fields
My XML:
<field
name="foo"
type="text"
/>
<field
name="bar"
type="text"
/>
<field
name="fooimg"
type="media"
showon="foo!:[OR]bar!:"
/>
<field
name="baz"
type="radio"
class="btn-group btn-group-yesno"
showon="foo!:[OR]bar!:[AND]fooimg!:"
default=""
>
<option value="bazval">JYES</option>
<option value="">JNO</option>
</field>
With: showon="foo!:[OR]bar!:[AND]fooimg!:"
on baz field I expect that baz is shown when (foo or bar has a value) and fooimg has a value too.
But the results are:
foo = true
bar = false
fooimage = true
baz is NOT SHOWED (should be showed)
foo = false
bar = true
fooimage = true
baz IS SHOWED (as aspected)
With fooimage or foo and bar set to False it work as expected.
I also tried: "fooimg!:[AND]foo!:[OR]bar!:"
What did I do wrong?