1. Fabrik 3.9 has been released. If you have updated Joomla to 3.9, this is a required update.
    Dismiss Notice
  2. If you update to Joomla 3.9.16, you will have to update Fabrik from the latest GitHub version, to fix a bug introduced in Joomla, which makes it impossible to list front end folder locations in backend JForms. This affects things like template selection.
    Dismiss Notice

Show on in xml configuration

Discussion in 'Community' started by joaop100, Dec 16, 2019.

  1. joaop100

    joaop100 New Member

    Level: Community
    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?
     
  2. startpoint

    startpoint Active Member

    Level: Community
  3. joaop100

    joaop100 New Member

    Level: Community
    Hello, startpoint!
    Thanks for the answer,
    But this is for elements, I want to hide configuration fields in the administrator.
     
  4. startpoint

    startpoint Active Member

    Level: Community
  5. joaop100

    joaop100 New Member

    Level: Community
    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
     
  6. startpoint

    startpoint Active Member

    Level: Community
    I don't know how to do in admin side. May be with js?
    I build my applications only in frontend.
     
    Last edited: Dec 16, 2019
  7. cheesegrits

    cheesegrits Support Gopher Staff Member

    Level: Community
    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
     

Share This Page