It would be great if Toolset Forms has the option for multiple checkboxes to enable and disable collapsible treeview. Something like lien caché
Thanks Beda for the information.
I really need this feature. You can see how bad it looks now on the form: lien caché
Users can select as much categories of ebooks (Kategorie) as they want, but it would be better if they could see only the main ones and then expand the category they want to check.
Or do you have any solution that can help with this to make it more arranged?
I have no solution for this, and the feature will be assessed by the people with a broader oversight.
Currently, the closest you could get to what you want is probably repeatable Field groups, which you can collapse, each item, and if collapsed it would hide it's "internal" fields.
However that is a totally different approach and will as well affect not only edit but display/query of that data, it will change the way you need to query it in view and display or create it. I can hence not recommend it.
The request is filed and votable as well for others.
The major problem here is the GUI, as you surely understand, it needs to be decided at some point, what section to hide and what not to.
This would apply to hierarchical taxonomies, rather than checkboxes fields, and there WordPress is not providing the feature to collapse either. In the case of taxonomies, we cannot implement it until WordPress does, or let's say we await this to be added in WordPress as it is out of the scope of Toolset otherwise.
There are however plugins allowing this:
https://wordpress.org/plugins/collapsible-categories-in-the-dashboard/
lien caché mentions as well that this is a core issue, but recommends http://wordpress.org/extend/plugins/collapsing-categories/
That could help if you plan to use taxonomies, however, none of them seems custom types ready, so you could probably not apply this to custom taxonomies.
Maybe I have not write it clearly, but I need this on frontend, not in backend. Also the plugins you have linked me are for backend usage.
I have realized that you already use something similar on https://toolset.com/forums/forum/professional-support/ and it would suite my needs on lien caché
It could be an option on cred shortcode, like [cred_field field='category' display='treeview']
I understand, it is however as well (for the same core reason) not possible on forms either, this would too require a new feature.
Logically, once we would implement such a thing for the backend, the Forms would follow.
However, this is not something we can do now, as WordPress itself does not offer it, and it also would require us to change the current plans. We may consider this in future.
Currently, our management is reviewing feature request as well, and in the close future, you will be able to communicate this directly with the Product Manager (in form of a suggestion).
Currently, the goal you try to achieve is not possible within Toolset, using one single Taxonomy, or Field.
What would be possible, is to hide/show other fields conditionally to what was chosen in a previous field.
With some styling, this can look similar as such tree view (expandable) taxonomy, but it is not the same as you need several fields.
That is done with Conditional Display for Form inputs, and it's elaborated here:
https://toolset.com/documentation/user-guides/conditional-display-for-form-inputs/
If you require technical assistance with that I suggest opening a separate ticket for that, as here we would discuss the request.