It would be great if I could use an Entity reference filed to control another field. So if a user selects a particular entity (node) in one reference field it would enable another dependent field.

Comments

jzornig’s picture

Status: Active » Closed (works as designed)

Just found that this actually does work.

Brilliant, just brilliant!!!

Thanks for the module.

peijun’s picture

Issue summary: View changes

Hi jzornig,

I tried to use an entity reference field as dependee and found it did not work. I got an error:

Notice: Undefined index: value in conditional_fields_dependency_edit_form_submit() (line 767 of /var/www/openatrium-7.x-2.18/profiles/openatrium/modules/contrib/conditional_fields/includes/conditional_fields.admin.inc).

By the way, I used ondition has value: has at least one of the values.

Could you please give me some hits?

Thanks,

peijun

morybel’s picture

I have the same error..

I want to show/hide a field based on the Organic Group.
Condition: field is visible when Groups audience has at least one of the values: "30".

Notice: Undefined index: value in conditional_fields_dependency_edit_form_submit() (line 767 of /home/public_html/sites/all/modules/conditional_fields/includes/conditional_fields.admin.inc).

This tread is about the same error, don't know if it helps.
https://www.drupal.org/node/2144729