Show on in xml configuration

joaop100

New Member
I have some fields in plugin configuration that I want to hide until another configuration field is used.
I tried the "showon" property on fields.xml of a plugin but it doesn't work. Is there any property that allows me to do this? Or I have to write the javascript code myself?
 
Hello, startpoint!
Thanks for the answer,
But this is for elements, I want to hide configuration fields in the administrator.
 
I already tried this and still doesn't work.
I tried this in com_contact/config.xml and it works perfectly, but in com_fabrik doesn't work
 
I don't know how to do in admin side. May be with js?
I build my applications only in frontend.
 
Last edited:
Are the fields you are working with in a repeat section? Anything where you can add/remove instances of the "thing" (validations on an element, plugins on a form, prefilters on a list, etc)?

If so, that's a known issue. Joomla does not natively support the concept of repeated params, where additional instances of the "thing" are added on the fly via AJAX. And the 'show on' code doesn't support that usage. And it is "black boxed" to the point where it is very difficult to parse new "things" as we add them through AJAX.

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top