Questions tagged [showon]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
14 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
28 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&...
user avatar
  • 207
0 votes
2 answers
63 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 ...
user avatar
  • 51
1 vote
0 answers
75 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=""> ...
user avatar
  • 331
1 vote
1 answer
151 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="...
user avatar
  • 331
1 vote
0 answers
94 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 ...
user avatar
  • 57
3 votes
1 answer
261 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 ...
user avatar
  • 33
1 vote
1 answer
58 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 ...
user avatar
  • 1,829
7 votes
1 answer
952 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 ...
user avatar
  • 1,829
1 vote
0 answers
214 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 ...
user avatar
  • 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 ...
user avatar
  • 26.5k
5 votes
1 answer
194 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="...
user avatar
2 votes
1 answer
897 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" ...
user avatar
  • 2,971