Match columns and formatting to output of Results/Download.

Created on 21 September 2020, almost 4 years ago
Updated 25 April 2023, about 1 year ago

Problem/Motivation

We would like to have the data sent to the Google Spreadsheet to match, both in column order and formatting, the output of the Results/Download. This way we can use an initial download as a template for the Google Spreadsheet.

Steps to reproduce

1. Create a Webform.
2. View, enter data and submit the Webform.
3. Go to Results/Download for a Webform. Using the defaults, and download the current results.
4. Upload these results to a Google Spreadsheet.
5. Under Setup/Email Handlers... Setup the Webform to now submit results to the url of the Google Spreadsheet.

Proposed resolution

I've created the following patch to handle this.

Remaining tasks

The patch could use some additional work in how it gets the list of fields. What is done in adjustFields() is a bit of a hack. :) Perhaps this is more an issue of the core Webform methods? Or... my lack of knowledge in some around this area. Any help is more than welcome.

User interface changes

API changes

Data model changes

✨ Feature request
Status

Closed: outdated

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States gmercer

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.69.0 2024