It would be very nice if this were compatible with fieldgroup tabs and the jstools tabs module.

Currently, tabs are not hidden and the tabs don't work with a coditional field on the form.

Files: 
CommentFileSizeAuthor
#14 tabs-cf-example.jpg30.47 KBpeterpoe

Comments

+1 for that. subscribung.

Status:Active» Postponed

Postponing all compatibility with non-core cck modules to future releases.

Version:5.x-1.x-dev» 6.x-1.x-dev

Subscribe

subs

Subscribing, this would be exellent!

subscribe!
Pleeaaze!

Subscribe. Really need; would love. :)

subscribing - would really like to explore this setup if it becomes available and would help with testing.

Version:6.x-1.x-dev» 6.x-2.x-dev
Status:Postponed» Active

Please use the 6.x-2.x-dev branch to test compatibility fixes.

seems to work.

@rconstantine: are you saying that the dev version can conditionally hide fieldgroups? I've downloaded and installed 6.x-2.x-dev and can't seem to find that functionality.

I would love to be able to use this module to conditionally hide entire fieldgroups. Are there plans to implement this functionality?

In the meantime, I took a programmatic approach to the problem. In case anyone else needs some help, I wrote a quick blog post on how to use a custom solution:
http://www.grasmash.com/node/47

Status:Active» Fixed

#11: yes fieldgroups are controllable, you can set up the controlling field from a fieldgroup's settings page.
As for Fieldgroup tabs, the only problem left is that tabs.js creates the tabs outside conditional field's wrapper, so the titles are never hidden. But nothing can be done about this, so marking this as fixed.
(truth is: I wanted to get rid of the oldest open issue :)

I know that fieldgroup by default will not show an empty group. That only seems to become a problem when we start hiding/showing content after opening the node. Is there anything that the fieldgroup module istelf could do that would allow it to check on form changes and adapt accordingly? Maybe this was never a problem to be solved by conditional fields.

*Update: Just looked through the fieldgroup issue and and this is already being talked about #1131968: Fieldset displayed even if there is no content

StatusFileSize
new30.47 KB

The problem here is with Javascript, as you can see in the example image below. tabs.js creates the tabs outside the conditional fields wrapper.

Thanks for the reply Peterpoe,

On a side note is this something that could be addressed in D8 development so that such a system could exist if someone were to develop it?

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Version:7.x-3.x-dev» 6.x-2.x-dev
Component:Compatibility w/ other modules» Code
Category:support» feature
Status:Active» Closed (fixed)

---double post---

Version:6.x-2.x-dev» 7.x-3.x-dev
Component:Code» Compatibility w/ other modules
Category:feature» support
Status:Closed (fixed)» Active

Hi guys, I'm commenting on this thread because I have a similiar problem that I can't solve

Here's what I'm trying to do:

You want to register a football player and in the registration form, at first, should only show a list of checkboxes:

GK ( )
DEF ( )
MF ( )
ST ( )

Now, I created 4 fieldsets with atributes for each position (GK Attributes, DEF Attribtues, etc). And I created the dependencies. If you check "GK" there will appear the respective attributes to fill. But if I don't check it the fieldset is still there, despite being empty.

I want each fieldsets only to appear when the respective box is checked.

How can I pull this off?

Thanx and great work

Version:6.x-2.x-dev» 7.x-3.x-dev
Component:Code» Compatibility w/ other modules
Category:feature» support
Status:Closed (fixed)» Active

Hi, this functionality is essential : just like Conditional Fields participates in the organization of the fields in the form, group fields do as well. The case when both are used is quite natural.
Great module!
Cheers

Will be great

I'm also looking for this. In the very least we'd like to display text in the empty tab so that the user understands that there are "currently no applicable fields" or something like that. I imagine if we're able to do that then we'd be 1 step away from hiding the tab altogether, although hiding it may make it difficult to come back.

Anyways, I've been trying to do this by listening to the conditional fields events provided in conditional_fields.js but am not having any luck in getting these to fire whenever a tab's contents are updated, so I'm a bit confused as to where to go next. Here's an example:

$('fieldset').live('conditionalFieldsState:empty', function() {
    console.log('foo1');
});
$('fieldset').live('summaryUpdated', function() {
    console.log('foo2');
});

I'm seeing these run on page load but not on conditional fields update. Is there something else I can listen for?

Subscribing - we're running into a small snap that's similar. For whatever reason it's not hiding one of our field_collection fields. Both the dependee and dependent are in the same field_group_section

Subscribe too ! Great and very usefull module otherwise !