It looks like If I check multiple in a select field to allow multiple values, then that select field won't appear on the list where we can choose the field to depend on.
Said differently, If a field doesn't use radio buttons, it can't trigger a conditional field.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | webform_conditional.tgz | 1.46 KB | bidji |
Comments
Comment #1
tedbowIt is true that this module will not work with multiple selections. But you can make a field a listbox without making it multiple. So you could use a single selection listbox or radio buttons. You cannot use a multiple selection listbox or checkboxes.
Comment #2
bidji commentedI made some modifications on this module to manage multiple selection listbox or checkboxes. I have to install a CVS env to post a patch (it's boring me, cause I use SVN for another project).
The modified version of webform_conditional attached also contains fixes given in two other issues (http://drupal.org/node/730500 and http://drupal.org/node/749702).
Comment #3
FunkMonkey commentedThis 'patch' does seem to fix the multiple select field issues. Thanks bidji!
I did not check the other functionality it was supposed to fix.
Could this be reviewed by someone more knowledgeable than I and rolled into the module?
Comment #4
FunkMonkey commentedI just found that the 'patch' breaks the conditional functionality if 'List Box' is chosen in the Display options. If you choose the conditional trigger it does not show the conditional control below the field. This did work previously. In my case it was easy to get around by unchecking List Box and displaying the fields with radio buttons.
Comment #5
tedbowJust did major update to this module. Please test and report back here whether it is fixed or not. Thanks!
Comment #6
Marat commentedI tested it and found many problems have been fixed, it works well with me know. Thank you!
Comment #7
tedbowComment #8
tedbow