Closed (fixed)
Project:
Dependent
Version:
5.x-1.3-beta
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
10 May 2008 at 21:55 UTC
Updated:
2 Jun 2008 at 21:06 UTC
Jump to comment: Most recent file
Comments
Comment #1
Tamar Badichi-Levy commentedThank you for your question.
When the creation page is opened the fields should be hidden according to the default values you have selected. The same thing happens when you are editing a form. If a field is not hidden/shown as expected it is a bug.
Please export the cck type so I'll be able to check it.
Comment #2
wiredescape commentedThank you for answering!
Sorry, but not sure how to export cck type. Please explain and will do. Capable but not that familiar with Drupal...
Comment #3
Tamar Badichi-Levy commentedNo problem,
Just go to "admin/content/types/export" proceed from there.
Best regards, Ofir.
Comment #4
wiredescape commentedThanks Ofir,
Had to enable Content Copy in CCK section of Module configuration options for export/import options to be available.
Tested dependent fields again with a number of different combinations of field types and with and without groups. Fails to work on initial opening of page in all situations.
Here is the export.
Regards,
Doug
Comment #5
Tamar Badichi-Levy commentedSorry for not being around for a while.
I'm not able to import you cck type. I get the error:
Do you know what might be the problem?
Comment #6
Tim Chan commentedThe problem should be caused by jQuery as I've solved it by updating jQuery.js to version 1.26.
There is a discussion about updating jQuery: http://drupal.org/node/256285#comment-857924
Comment #7
wiredescape commentedThanks Tim,
I can confirm that updating jQuery solved this issue for me. Went from jQuery 5.x-1.0 to 5.x-2.x-dev. Did not try latest copy of jQuery 5.x-1.0 so not sure if changes have been made there.
http://drupal.org/project/jquery_update
I was suspicious that something other than 'Dependent fields' was causing the problem when I noticed that fields within Drupal Admin pages were also experiencing show/hide problem. Had recently started to work through isolating the bug when your posting appeared.
I'll mark this issue as closed. Others, please reopen if this fix doesn't work for you.
Doug