This may well be a support request rather than a feature request.

Would it be possible to add a feature for or otherwise advise me on how to achieve the following:
I would like to setup a tab group that will only display when at least 2 of the tabs within it contain values in the fields within them, but still displays the contents of the tab (albeit rendered as a normal field outside of a group).
i.e. If the group contains 3 tabs and only tab 1 is populated, then display the contents of tab 1 as a field outside of a tab.

Thank you for your hard work on this great module :)

Comments

Stalski’s picture

Status: Active » Closed (won't fix)

Unfortunately, in previous version it was possible since fields were nested in group within the context of their parent. Due to a couple of major problems the nesting function was refactored. It now does not have any notion of siblings or child of a parent anymore while nesting.

It would be a bit to hard to implement this with current codebase. I will keep this issue in mind but I would not get hopes up to get this in somehow.

I could only advise to try some major form_altering untill you get the desired effect. It should be possible if you can come in at a point where everything is already nested and you can loop through a parent group.