I'm not good in Javascript so can't fix it myself. The problem is in the
var field = $("select[name^='"+index+"'],textarea[name^='"+index+"'],input[name^='"+index+"'],*[id^='"+index+"']");
For example i have field with name field_tax. So the index in code have field_tax2 value. And ID in html code of this field were field-tax2-value. But id of this field in multigroup where edit-group-multigroup-0-field-tax2-value. Is it fixable?

Comments

Negor’s picture

temporary solve this problem by modyfing ajax_trigger.js line 21
var field = $("select[name*='"+index+"'],textarea[name*='"+index+"'],input[name*='"+index+"'],*[id^='"+index+"']");

kenorb’s picture

Title: Wont worked with cck fields in multigroup » Doesn't work with CCK fields in multigroup
Miguel.Andrade’s picture

Issue tags: -flexifield

Hi, just tested with flexifield and same issue.

example: ID without Flexifield, trigger attach working:

edit-field-qnt-0-value

ID with Flexifield, trigger not attached:

edit-field-ff1-0-value-field-qnt-0-value

btw: ff1 is a custom name for the flexifield, next 0 is the flexifield index

Great module by the way. It can save me a lot or developing time. Thanks

Miguel.Andrade’s picture

Issue tags: +flexifield
Miguel.Andrade’s picture

Issue tags: +flexifield

Actually, correcting for flexifield is tricky, because when the form loads, the triggered field (if in a flexifield) will not be present, so the listener does not get attached. Maybe the correction must be in the flexifield side, and probably there is nothing to be corrected in this module, just a warning should be made about flexifield troubles.

kenorb’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.