I wonder if dfv has the same problem as ddf - see #2192557: Support Checkboxes/Radiobuttons for the dependent field.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | dfv-dependent_checkboxes_and_radios-2330079-8.patch | 2.09 KB | schifazl |
I wonder if dfv has the same problem as ddf - see #2192557: Support Checkboxes/Radiobuttons for the dependent field.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | dfv-dependent_checkboxes_and_radios-2330079-8.patch | 2.09 KB | schifazl |
Comments
Comment #1
hansfn commentedComment #2
hansfn commentedComment #3
hansfn commentedJust for the record: I fixed/worked around this by installing the Improved Multi Select module which makes the use of check boxes unnecessary.
I must say that this is a wonderful module.
PS! It always feels better to use a module with a (stable) release. What is missing to move this from dev to release? It seems to be doing it's job just like promised.
Comment #4
johnkareoke commentedQuick question hansfn. Did you fix your issue by using Improved Multi Select instead of dfv and Checkboxes, or did you resolve your issue by using Improved Multi Select IN ADDITION TO dfv? Asked differently, does DFV support Improved Multi Select?
Comment #5
hansfn commentedBy using Improved Multi Select in addition to dfv, or in other words, dfv supports Improved Multi Select.
Comment #6
johnkareoke commentedGot it. Thanks!
Comment #7
rozh commentedIt works with Chosen too. DDF is not (see #2090493: RE: DDF not working for a dependent field with an unlimited number of values).
Comment #8
schifazl commentedI've created a patch for Checkboxes and Radiobuttons as the dependent (child) widget.
Since it was strictly related, I've added an extra check to when add or not add the "- None -" or "N/A" option.
When using radios I'm unsetting the #default_value if it isn't present in the $options array. That's because if the default value isn't included in the $options array and the user changes again the parent's value before clicking on a child's option, DFV won't work.
Comment #9
sano commentedworks nicely here. I am using the 7.x-1.0-beta1+5-dev version of this module with these patches:
https://www.drupal.org/files/issues/dfv-change_readme_info-2296739-5.patch
https://www.drupal.org/files/issues/parent_select_value_lost-2552895-2.p...
thank you.