This Plugin is a great addition and a missing feature.
However, I have a few suggestions:
- Make the "Show/Hide" button hidden, if the Subform is not repeatable.
- Rename the "Show/Hide" button to "Show/Hide All", or add an option to customize the name.
- Add an option to have the subforms be collapsed by default on page load.
- A button to separately collapse a single Subform - like the "Minus/Plus" buttons.
For me these additions would make working with the subforms even clearer.
Thank you
Feature Request for 'Phoca Collapse System Plugin'
-
- Phoca Newbie
- Posts: 4
- Joined: 06 Aug 2025, 17:42
- Jan
- Phoca Hero
- Posts: 48896
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Feature Request for 'Phoca Collapse System Plugin'
Hi, thank you for the ideas, I will take a look at them, not sure, if e.g. it is possible to display it based on the type of form (if Joomla sends such information that the form includes subforms, etc.)
https://github.com/PhocaCz/PhocaCollapse/issues/1
Thank you, Jan
https://github.com/PhocaCz/PhocaCollapse/issues/1
Thank you, Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 4
- Joined: 06 Aug 2025, 17:42
Re: Feature Request for 'Phoca Collapse System Plugin'
Hi Jan,
... it seems the Subform has a class of " .subform-repeatable ", also if it is not repeatable, so this is nothing to rely on.
However, it is possible to set a custom class to the field in the 'options' of the field - maybe it would be possible to use that as a workaround.
... it seems the Subform has a class of " .subform-repeatable ", also if it is not repeatable, so this is nothing to rely on.
However, it is possible to set a custom class to the field in the 'options' of the field - maybe it would be possible to use that as a workaround.
- Jan
- Phoca Hero
- Posts: 48896
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Feature Request for 'Phoca Collapse System Plugin'
The problem with subforms, they are fully managed by Joomla, no no idea, if it will be possible to somehow modify this feature from outside 
Jan

Jan
If you find Phoca extensions useful, please support the project