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.
By hallswah on
Hi Guys,
I have a webform whose submissions are being displayed in a custom view using fields.
Currently I am able to sort the columns ascending/descending by clicking the table headings in each column.
What I would like to do is to have the ability to filter and display submissions based on the value entered by other users into one of these fields:
e.g. I have a field called 'Student Full Name' I want the user to be able to enter a name into the filter which would then display all submissions that contain this name.
I hope that make sense and any help is much appreciated.
Regards,
Simon
Comments
Solved
So after a bit more prodding and poking I found that you need to create a new 'Relationship' in the views edit screen of type "Webform Submissions Data".
After defining the relationship you can then add a filter criteria of type "(Submission Data) Webform submission data: Data field (exposed)"
Thanks.