I have a canvas app where a user is able to select options from a dropdown box (Figure 1). The options provided in this dropdown box are sourced from SharePoint, they are all listed on single lines. Once the user submits, they are taken to the next page (Figure 2) where I want them to be able to see and answer questions relating to the options they have selected.
I have added "(1/7)" for now, as an example of what I would like to achieve. I am not sure where or how to store the questions as for some options there will only be 2 questions, and for others there could be up to 10. I know that for example, I can hardcode 10 columns into a collection, however I would like the user to be able to add a new question in SharePoint, and have a gallery dynamically update to include the new question.
Would really appreciate if anyone could provide a solution for this. Many thanks!