Questions tagged [showon]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
25 views

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&...
  • 227
0 votes
1 answer
31 views

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 ...
user avatar
1 vote
1 answer
85 views

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&...
  • 227
0 votes
2 answers
94 views

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 ...
  • 51
1 vote
0 answers
77 views

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=""> ...
  • 341
1 vote
1 answer
191 views

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="...
  • 341
1 vote
0 answers
109 views

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 ...
  • 57
3 votes
1 answer
303 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 ...
  • 33
1 vote
1 answer
60 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 ...
  • 1,859
7 votes
1 answer
1k 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,859
1 vote
0 answers
218 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 ...
  • 151
11 votes
1 answer
5k 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 ...
  • 26.6k
5 votes
1 answer
197 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="...
2 votes
1 answer
915 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" ...
  • 2,981