Missing data for multi-select fields

Created on 23 December 2021, almost 3 years ago
Updated 8 November 2023, about 1 year ago

Problem/Motivation

If a webform contains a select field with multiple options it is not possible to have this data sent over to Drupal.
It would be good if the data could be extracted so it can be sent up.

Steps to reproduce

  1. Create a webform
  2. Add a select field and configure it will unlimited options
  3. Add the sfweb2lead_webform submission hook & configure the select field
  4. Enable debug to help
  5. Fill in the form and test

Proposed resolution

Update the current code so that it can work with multi-select fields and simply converts them to be inline strings.

Remaining tasks

Create patch and upload it.

🐛 Bug report
Status

Needs review

Version

6.0

Component

Code

Created by

🇬🇧United Kingdom 3li U.K. 🇬🇧

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.

Production build 0.71.5 2024