Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Thank you for the development of this useful module. I tried this module.
I have a problem, I cannot get the value in the list from the webform submission data (for any field I created in the webform).
I can get the list the fields from the webform submissions, such as serial number, node id, etc
Comments
Comment #1
waluyo.umam CreditAttribution: waluyo.umam commentedComment #2
waluyo.umam CreditAttribution: waluyo.umam commentedComment #3
Stevel CreditAttribution: Stevel commentedAre you sure the "use this" field is filled in? Do you see the field if you create a non-webform views select display?
Can you provide steps for me to reproduce this issue?
Thank you for using this module
Comment #4
waluyo.umam CreditAttribution: waluyo.umam commentedThank you for your attention.
The following is the steps:
a. create webform a (field component textfield: "usethis" and "this one")
b. submit several data of the webform a, so I have submitted data results
c. Create view "View webform a" disable page, disable block
d. add webform option (format: webform select list), add webform submission data "usethis" and "this one"
e. The list is always blank (I tried to create other fields, also blank result), I can only list field webform submissions, such as serial number, and other webform submissions.
Please have a look the capture 1 to 7.
Comment #5
Stevel CreditAttribution: Stevel commentedCould you try the attached patch?
Comment #6
Stevel CreditAttribution: Stevel commentedHmm, it seems view->render also calls view->execute, so it is not necessary to call them both. Updated patch.
Comment #7
waluyo.umam CreditAttribution: waluyo.umam as a volunteer commentedYes, the patch work fine. I tested in the previous simple example. I can see correctly in Views and I can use the list in select option component in another webform.
Comment #9
Stevel CreditAttribution: Stevel commentedCommited to git.