Collapsible separators not working with Show/Hide Dependent Fields Plus plugin

7 posts by 2 authors in: Forums > CMS Builder
Last Post: April 26, 2019   (RSS)

By andreasml - April 14, 2019

Hi

There seems to be an issue when using collapsible separators with the Show/Hide Dependent Fields Plus plugin.

It exists in the Edit mode (there is no problem in the View mode), and it regards the collapsible separator that precedes the field that fires the change event. When the separator is collapsed not all fields below are hidden, and when the separator is uncollapsed not all fields below appear. 

Regards

Andreas

Hi Andreas,

Which version of CMS Builder and the Show/Hide Dependent Fields Plus plugin is this happening with?

Greg Thomas







PHP Programmer - interactivetools.com

Hey Andreas,

I've created a patch for the plugin that resolves this issue. Would you mind testing it for me? You'll need to do the following:

  1. Enable dev mode in the plugin. This is done by setting $devmode to true in config.php.
  2. Replace showHideDependentFieldsPlus.src.js with the version attached to this post. You can find this file in the plugins directory.

If it works for you as expected, I'll release a new version of the plugin that doesn't require dev mode to be enabled. 

Thanks!

Greg

Greg Thomas







PHP Programmer - interactivetools.com

By andreasml - April 17, 2019

It does!!!

Congratulations!!!

Thank you,

Andreas

Hey Andreas,

Thanks for the feedback. I've released a new version of the plugin with the update in, you can download it here:

https://www.interactivetools.com/plugins/showhide-dependent-fields-plus/

Thanks,

Greg

Greg Thomas







PHP Programmer - interactivetools.com

By andreasml - April 26, 2019 - edited: April 26, 2019

Hi Greg

Thank you for letting me know

Andreas