Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [showon]

The tag has no usage guidance.

3
votes
1answer
69 views

How to use the showon attribute with multiple conditions?

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 ...
0
votes
1answer
37 views

Showon=“foo:1[AND][bar:2[OR]bar:3]”

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 ...
7
votes
1answer
399 views

Form Field showon:"empty

Using this documentation https://docs.joomla.org/Form_field I have developed a plugin and used the showon attribute within the XML (head to the bottom of that page). Whilst is shows me I can use ...
9
votes
1answer
2k views

Form field “showon” with multiple fields

I have 3 fields defined in my XML file like so: <field name="field1" type="radio" label="Field 1" class="btn-group" default="1"> <option value="1">JYES</option> <option ...
1
vote
0answers
156 views

Form field option showon media select

pretty sure this is a rhetorical question... but.... Is it possible to use the showon option based on a media field having a file selected? This is what I'd like: all subsequent form fields hidden ...
5
votes
1answer
169 views

Showon with nested fields?

I am trying to figure out how to get the showon tag to work with nested fields. Could someone please look at the code below and tell me what I do wrong or if it is at all possible. <field name="...
1
vote
1answer
643 views

JForm showon attribute does not work in admin site

I have a form field which needs to be shown depending on value selected for another field. For example <field name="field1" type="list" label="LABEL1" description="DESC1" filter="intval" size="1" ...