Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I can create a normal group and have the conditional values be turned on or off. If the group is a multigroup, it doesn't work, all the form elements are visible, even the conditional ones.
The content_multigroup module has to be turned on by creating a content_multigroup.info file, read the README.txt.
Comments
Comment #1
peterpoe CreditAttribution: peterpoe commentedPostponing all compatibility with non-core cck modules to future releases.
Comment #2
peterpoe CreditAttribution: peterpoe commentedComment #3
kenorb CreditAttribution: kenorb commentedThe same problem here #373954: doesn't work with content_profile_registration.module on Registration form.
Comment #4
kenorb CreditAttribution: kenorb commentedWhat have to be done to make it working?
Comment #5
bfsworks CreditAttribution: bfsworks commentedAs the multigroup module is now apart of an official cck dev branch, now might be to time to take a look at integrating this functionality.
Comment #6
Michsk CreditAttribution: Michsk commentedi to need this so +1
Comment #7
bfsworks CreditAttribution: bfsworks commentedHave offered to help fund moving this along. Any other contributions?
Comment #8
Michsk CreditAttribution: Michsk commentedi could test some things, but i am no coder
Comment #9
servantleader CreditAttribution: servantleader commentedEasy fix:
On line 618:
Change:
To:
By overwriting #prefix and #suffix this module breaks any other module that adds markup. This needs to be fixed throughout the module. Someone that has the time can make this into a patch.
Comment #10
peterpoe CreditAttribution: peterpoe commented@servantleader: committed your proposed fix to dev, thanks!
@bfsworks: I answered to your message: if all you needed was controlling multigroups as a whole, this fix is enough. But if you need to make fields controlling/controllable inside a multigroup, there's a lot more work to do...
Changing this issue to tracking bug for full compatibility with content_multigroup.
(Question: anyone knows if there will ever be a cck 3 for Drupal 6, or if it will only be for D7?)
Comment #11
jpweber CreditAttribution: jpweber commentedI also would very much like this feature.
Comment #12
smscotten CreditAttribution: smscotten commented@peterpoe You say servantleader's fix in #9 is enough for controlling multigroups as a whole? Does this mean I should be able to make a multigroup appear and disappear based on a controlling field? I'm asking because I'm not seeing that and I don't know whether I simply misunderstood or if it isn't working for me.
Comment #13
Miria CreditAttribution: Miria commentedI have the same question, and wondering if I misunderstood #10. I am using the dev branch of this module because I very much need this feature with multigroup, but the multigroup that I have set as controlled still seems unaffected by the controlling field.
Comment #14
Miria CreditAttribution: Miria commentedCorrection to my above post: the dev version does work with multigroup. What it doesn't work with is Fieldgroup Tabs. When I disabled the fieldgroup tabs module, the controlled multigroup disappeared just like it was supposed to. However, with the module enabled, all the fields in the multigroup do disappear, but the "empty" tab still remains. So scratch what I said above, the dev seems to work fine with the basic multigroup.
Comment #15
jeff.k CreditAttribution: jeff.k commented+1 Subscribed for conditional fields inside a multigroup section
Comment #16
neopulse CreditAttribution: neopulse commentedIt doesn't work for me, I changed to the dev version ans apply the fix in #9, but i can make a conditional multigroup, I mean appear and disappear. Even in the multigroup config page i can find the section conditional field that appear in others fields.
How you make the multigroup be conditional.
Excuse my english please
Comment #17
benone CreditAttribution: benone commented+
Comment #18
extect CreditAttribution: extect commentedThere will be a cck 3 for Drupal 6, which will include multigroups (see http://drupal.org/node/484068). So, I guess conditional fields should support multigroups, which does not seem to be the case in 6.x-2.x-dev. To be more precise, when allowing unlimited values on a multigroup, the "Add more values" button has no effect if the multigroup is conditionally controlled by another field.
Comment #19
colordrops CreditAttribution: colordrops commented+1
Comment #20
Bilmar CreditAttribution: Bilmar commented+1 subscribing
Comment #21
YK85 CreditAttribution: YK85 commented+1 for this feature
does anyone know of a workaround to get conditional fields working for fields within a multigroup at this moment? possibly working with template.php preprocess? this new feature will be a great add to Conditional Fields module and keeping compatible with cck. thanks!
Comment #22
BenK CreditAttribution: BenK commentedSubscribing...
Comment #23
YK85 CreditAttribution: YK85 commentedHi peterpoe,
Is there any update on multigroup support?
Multigroup is developing with CCK3
Thanks!
Comment #24
jzornig CreditAttribution: jzornig commentedSubscribing
Comment #25
clashar CreditAttribution: clashar commentedsubscribing, any news?
Comment #26
pydubreucq CreditAttribution: pydubreucq commentedSubscribing too ;)
Comment #27
bomarmonk CreditAttribution: bomarmonk commentedSubscribe: the development version of conditional fields seems to work with multigroups until I add two conditional fields to a node type with a multigroup. So, maybe the development version is close to getting this working, but not entirely.
Comment #28
bomarmonk CreditAttribution: bomarmonk commentedActually, I'm using 6.x-2.0-beta1 of conditional fields with multigroups-- the first conditional field I added worked (it was part of a standard field group or set). The second conditional field will not work with a multigroup added to the content type.
Comment #29
gaintsev CreditAttribution: gaintsev commentedSubscribing
Comment #30
Sknight17 CreditAttribution: Sknight17 commented+17
Comment #31
.kuma CreditAttribution: .kuma commentedSubscribing
Comment #32
ss54 CreditAttribution: ss54 commentedDear Sir
I would like to test this fix, but which module is this? Can you help please?Will replacement will fix the problem immediately? Thanks
Comment #33
ss54 CreditAttribution: ss54 commentedCan you please tell me where are these codes existing, in which module, so that I can replace them with the proposed codes by servantleader. Thanks a lot
Comment #34
ionmedia CreditAttribution: ionmedia commentedhi, people
my fresh install of drupal with cck 3x and cf (version = "6.x-2.x-dev" core = "6.x" project = "conditional_fields" datestamp = "1304942666") works fine with classic fields, but not work with multi-group fields
step by step how to:
1. create multi-group
2. create 2 fields (controlling and controlled)
3. check conditions - all works fine
4. put both fields inside multi-group
5. check and see, what controlled field always visible and not hides by trigger controlling field values
html code of controlling field is
controlled field
here 0 is a serial key of multigroup "group_insurance_policy"
why we cant control it ? we have all what we need, group name, key and field name
i can quickly help rewrite dev if you tell me which string do this stuff now
Comment #35
ionmedia CreditAttribution: ionmedia commentedany news? i begin new project and need this asap ;)
Comment #36
mstef CreditAttribution: mstef commentedsubscribe..
using 2.x-dev as of today, and nothing at all works inside multigroups.
Comment #37
Uv516 CreditAttribution: Uv516 commentedany news?
Comment #38
filiptc CreditAttribution: filiptc commented3 years old issue. Very needed.
I would mark this as a bug because full functionality is broken with core cck3, which is the base for this module (not just "compatibility with other modules").
Comment #39
dhayalan_ms CreditAttribution: dhayalan_ms commentedCCk multigroup fileds are created using a ajax call,when you click on add more values the the complete muligroup form is rebuild.To trigger onselect , onclick events for these kind fields are not possible with conditional fields javascript.Have to recreate the complete javascript by using two functions
one is .live method in Jquery and another one is Drupal.attachBehaviours.Only live method can trigger click events on ajax created fields.
Drupal.attachBehaviours will bind the object to newly created Dom elements,So when you click on add more values the already fired click event will be preserved.
Comment #40
bakr CreditAttribution: bakr commented----------
I have created my own javascript solution and used it along with custom js/css module
---------------
Works Perfectly and compatible with JQuery 1.3
Notice I use the .live binding....
-----------------
Comment #41
peterpoe CreditAttribution: peterpoe as a volunteer commented