I have a google Form that for various reasons has multiple checkbox questions. I eventually want a known quantity of these to be merged.
Once a form submitted, I figured I could have an app script take the submitted data, copy it to another sheet and then merge the aforementioned question responses into a single cell csv.
so take the following example:
name: 'name'
question1: ['a','b','e']
question2: []
question3: ['dog','cat']
question4: ['notMerged']
and copy it into another page that looks like:
name: 'name'
questions: ['a','b','e','dog','cat']
question4: ['notMerged']
I've been reading on about setting up the trigger for onFormSubmit and getting the data but am not sure about things like merging the results, placing it in the same row # etc. The column index of the fields to merge are static however no there will always be some amount of them that are empty so I will need to do a null check on each before joining.
I am working my way through the 'Quickstart: Managing Responses for Google Forms' code to see whats going on but I dont really know JavaScript.
Not looking for someone to write this out for me but help with a few pointers to get me goin in the correct direction