Closed (won't fix)
Project:
Form Dependencies
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
1 Apr 2009 at 13:37 UTC
Updated:
11 Aug 2010 at 09:43 UTC
Jump to comment: Most recent file
Comments
Comment #1
AmitV-2 commentedNeed this module for Drupal 6 desperately.
Comment #2
ShaiHulud commentedSame here. Need this module for Drupal 6 desperately. Who can port this?
Comment #3
shawngo commentedThis is a "use at your own risk" port :)
This may not contain all the functionality you're looking for, but that might be what it takes to take this module to the next level.
With that said, enjoy.
Shawn
Comment #4
teezee commentedGoing to work on D6 and D7 versions starting this weekend. @shawngo Good job on the port, I'll probably use everything except the debug stuff
Comment #5
shawngo commentedThanks :)
I don't know why I left the debug code in there. I also ported the Webform Dependencies module about as far as I needed to. Were there other features that you had intended on adding? We have a project in-house that needs to go a step further in adding more granular dependencies on the field values.
Shawn
Comment #6
teezee commentedWell, that's exactly what the next step will entail. It should be possible to set (per element) which value the dependency applies to. Problem in implementing was that:
- The behaviour must be exactly the same in JavaSscript and PHP (must be able to degrade)
- Must work on '#type' => 'checkbox' and '#type' => 'checkboxes' which have a difficult way of comparing, every 'checkboxes' element creates x 'checkbox'-es but the output is somewhat different
I'm planning to move that to the next release for 6, but if you have any ideas and/or working examples please share!
Comment #7
teezee commentedI think this will remain a won't fix as the CTools module has sort-of a plugin for this (http://drupal.org/project/ctools), but that one has some IE issues with eventlistener click on checkboxes.