
Hi,
I'm creating an Employee Assessment app and I'm having some trouble figuring out how to transform the information into a single row in a SharePoint list.
The questions are structured as follows (The actual information is in a SharePoint list):
And I need it to be inserted into a SharePoint list like this:
One of the problems is that depending on the city, we have a different number of questions, and it has to start with the first column.
I've been trying to use a gallery to display the correct questions (using the filter function), but I don't know how to submit the information into the SharePoint list.
Patch functions, write conditionals based on the city a different patch function runs. Hence, use something like a switch or if -> then patch.