Hi,

The entity reference settings for the reference method of: Business Rules: Make field dependent using views is broken and not working at all !!!

FOR WEBFORM:
When trying to set the reference method of an entity reference field to Business Rules: Make field dependent using views I got very strange results. (Which does not make any sense!)

HOWEVER, FOR NODES: When trying to set the reference method of an entity reference field to Business Rules: Make field dependent using views I got the exact results that I am expecting to see!

To reproduce the issue:
1) Create a simple taxonomy view

2) Add to the view an "Entity Reference" display.

3) Add an "entity select" webform element to the "Contact webform"

4) Within the "Entity reference" element settings, change the reference type to Business Rules: Make field dependent using views

5) Voila! the issue.

Dependent Fields

Thank you for your help,

Comments

C.E.A created an issue. See original summary.

jrockowitz’s picture

Status: Active » Closed (won't fix)

I can't support the Business Rules module within the Webform module's issue queue. Any integration with The Business Rules module should be handled via a dedicated contrib module like https://www.drupal.org/project/webform_rules

sebaz’s picture

c.e.a’s picture

Issue summary: View changes
Status: Closed (won't fix) » Active
Related issues: -#2996784: Webform elements are not recognized by business rules modules
StatusFileSize
new17.03 KB
c.e.a’s picture

Sorry for re-opening this issue but as far as I can tell, business rules is the best option now for creating Dependent fields using this Dependent Fields Guide. However, this functionality is working with all entity reference field entities except Webform elements !

Is there another way to create dependent field in webforms ?

Thank you,

c.e.a’s picture

Status: Active » Needs work
jrockowitz’s picture

Status: Needs work » Closed (outdated)

Currently, there is no way to create "Dependent fields" in the Webform module.

I think some people are using https://www.drupal.org/project/webform_shs