I wonder if dfv has the same problem as ddf - see #2192557: Support Checkboxes/Radiobuttons for the dependent field.

Comments

hansfn’s picture

Issue summary: View changes
hansfn’s picture

Issue summary: View changes
hansfn’s picture

Just 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.

johnkareoke’s picture

Quick 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?

hansfn’s picture

By using Improved Multi Select in addition to dfv, or in other words, dfv supports Improved Multi Select.

johnkareoke’s picture

Got it. Thanks!

rozh’s picture

schifazl’s picture

Status: Active » Needs review
StatusFileSize
new2.09 KB

I'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.

sano’s picture

Status: Needs review » Reviewed & tested by the community

works 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.