Questions tagged [showon]
The showon tag has no usage guidance.
15
questions
1
vote
1
answer
62
views
First showon works as expected, all others don't
I have various such pairs in a form:
<field
name="hasEndDate"
type="list"
label="Hat Enddatum?"
default="1"
>
<...
1
vote
0
answers
51
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&...
0
votes
1
answer
41
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 ...
1
vote
1
answer
240
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&...
0
votes
2
answers
145
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 ...
1
vote
0
answers
86
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="">
...
1
vote
1
answer
301
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="...
1
vote
0
answers
142
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 ...
3
votes
1
answer
368
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
...
1
vote
1
answer
61
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
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
vote
0
answers
220
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 ...
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 ...
5
votes
1
answer
204
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
924
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" ...