Webform elements are not recognized by business rules modules

Created on 2 September 2018, almost 6 years ago
Updated 3 August 2023, 11 months ago

Hi,

any webform element added to a webform is not being recognized by the business rules !

Please reproduce the issue by following the below steps:

1) Install the webform module.

2) The webform module come shipped with a built-in "contact webform"

3) Goto: /admin/structure/webform/manage/contact and you will find that this webform has 4 elements added to it:
_ Your Name (name)
_ Your Email (email)
_ Subject (subject)
_ Message (message)

4) Now, lets say i want edit a submission of the "contact" webform and update the "your Name" field value using business rules, so i will have to create:

EVENT:
After updating Entity

ACTION:
Set field Value

5) Try to create a "set field value" action with the below configuration:

Target Entity Type: Webform Submission
Target Bundle: Contact

and here is the problem inside the "Field" section!!!!!

You will not find the elements added to the contact webform inside the field section which are:
_ Your Name (name)
_ Your Email (email)
_ Subject (subject)
_ Message (message)

see below image:

As you can see in the image above, there is no listing for the elements available in the webform contact such as:
_ Your Name (name)
_ Your Email (email)
_ Subject (subject)
_ Message (message)

any help on this subject ?

Having the webform elements appear in the "field" section will give the BR module a huge thumb up in term of flexibility.

Thank you,

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡±πŸ‡§Lebanon C.E.A

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • sebaz β†’ Did you get this working? We have a similar requirement where we need to populate the second dropdown values based on the selected value in the first dropdown. Entity reference view and business rule works fine in a node, but when we try to do the same in the webform its not working and not able to filter the entity select values.

  • πŸ‡΅πŸ‡±Poland SebaZ

    No, I've dropped the idea of using Webforms to this task. Entityform did what I want without special integration.

  • Oh! EntityForm is not available for Drupal 9, wonder if there is anything else that can be used to achieve this feature.

Production build 0.69.0 2024