Need some help with finding an easier way to do the below and also something that is lesser error prone.
Use case: The requirement is to have the user pick a question from a dropdown and then respond to it.
I am making use of Choice component to list out the questions. I have also built out a column corresponding to each question to display it when the user select the question and store the answer to it there.
In my case, there are 7 questions in the Choice component and hence 7 columns for storing the answers to the selected question. Now for each choice picked, I have to add 7 different text entry fields which are conditionally mapped to the corresponding choice picked. So in total, I have to add 49 fields conditionally mapped to the choices.
I am expecting the choice options to increase to 12. Doing this approach, would make me manually add 144 fields and conditions to them. This could be very error prone as I am seeing it while building solution for just 7 choice options.
Has anyone tried anything similar with a simpler approach? Using relations or other aspects?
Below is the video showcasing the problem.
***If you need more information to understand this better, please let me know.