Questions tagged [showon]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer

Joomla field logic control plug-in

Is there a plugin in joomla that controls the display or hiding of another field based on the specified field similar to the XML showon attribute, or similar to the conditional logic in the WordPress ...
1 vote
0 answers

Does showon work with form fields that are checkboxes?

I have a List form field type in my form, that selects (by showon) the values visible at a second (multiple) List form field type. That works fine. Something like that: <field name="animal&...
1 vote
1 answer

Does Showon attribute for list options work with Joomla 4?

I have tried the following exact example in the Joomla documentation: Showon attribute for list options <field name="fielda" type="list" label="FIELDA_LABEL&...
0 votes
2 answers

Form-Fields-Fieldset-showon issue

For a component I have a field item_type that needs to be saved in its own database column for ease of searching, filtering etc, and a set of configurations which have global option defaults so are ...
1 vote
0 answers

Showon field attribute targeting field from a group to root

So this is an example XML: <form> <fieldset> <field name="field1" type="text" default="" label="" description=""> ...
1 vote
1 answer

Custom field type with showon attribute for list options

When creating a showon attribute in list options one can do that in form XML since Joomla 3.9 like this: <field name="fieldx" type="list" default="0" label="...
1 vote
0 answers

Multiple Subform field in module - add multiple items at once

I have a mutliple subform field with radio buttons. All other fields load by showon of the related parent radio select. If there was added more than one item without saving successively, the radio ...
3 votes
1 answer

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 ...
1 vote
1 answer


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
1 answer

Form Field showon:"empty

Using this documentation 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 ...
11 votes
1 answer

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
0 answers

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
1 answer

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="...
2 votes
1 answer

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" ...