Stack Exchange Network

Stack Exchange network consists of 174 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.

0
votes
1answer
32 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
330 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 ...
1
vote
0answers
139 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 ...
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 ...
5
votes
1answer
158 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
582 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" ...