First off - great module idea... just what I was looking for.

I installed the module and got it working with a couple of fields being dependent on each other - then suddenly it stopped working. I've disabled most of the other new modules that I added, to undo any conflicts, but still no love. After messing around with the javascript, it seems the section at line 11:
$(this).prev(function(){
is not executing. Unforunately, I'm not a javascript programmer, so it's tough for me to debug. I've attached the html for a simple page (one checkbox field, one text field that's dependent on the checkbox). Can you tell me if there are elements missing from the html?

CommentFileSizeAuthor
foo.zip4.04 KBmeeotch
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

meeotch’s picture

Title: module has stopped working » update - it's a jquery_update conflict

So it looks like the problem was the jquery_update module. Dependent Fields seems to not be compatible with jquery_update. (Which coincidentally includes a file called "collapse-fix.js", and a comment that says "@todo - js to fix collapse behavior?")

I'm most definitely out of my depth at this point, so any help would be appreciated.

Tamar Badichi-Levy’s picture

It seems the changes that occurred between the jQuery 1.1 and 1.2 might cause some problems. When I wrote the module I decided to stick with the 1.1 that comes with drupal. I'll try to look for a solution for this certain problem and release as soon as possible

Tamar Badichi-Levy’s picture

I added a new release that fixes the jquery compatability issue. Please check.

Tamar Badichi-Levy’s picture

Status: Active » Fixed

I change this issue status to fixed.

meeotch’s picture

Just a quick update: everything seems to be working fine w/ jquery 1.2.1. Thanks for the quick fix!

Anonymous’s picture

Status: Fixed » Closed (fixed)

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

antipix’s picture

Disaster with jquery 1.2.6...
is it just me or i do something wrong ?

It seems that there is a problem with the jquery function hide(), i don't know why...

antipix’s picture

that's ok, i had to change the javascript file a little to make it works correctly...
i don't understand why this file had to be changed, as it was supposed to stay compatible with any version of jquery...