Hi @tonton ,
How do you list the Questions within the multiple screens of your app? From your SP List?
Could you please share a bit more about the data structure of your SP List?
Further, do you want to save the multiple fields of one question into a SP list? Do you want to save all Questions & Answers into single one same SP list or individual SP List (multiple SP lists)?
If you want to save all Questions & Answers into single one same SP list, I have made a test on my side, please take a try with the following workaround:
Patch(
'YourSPList',
Defaults('YourSPList'),
{Title: "Questionnaire Test", QuestionTitle: "Question1", QuestionProperty1: TextInput1.Text, QuestionProperty2: TextInput2.Text,...},
{Title: "Questionnaire Test", QuestionTitle: "Question2", QuestionProperty1: TextInput1.Text, QuestionProperty2: TextInput2.Text,...},
{Title: "Questionnaire Test", QuestionTitle: "Question3", QuestionProperty1: TextInput1.Text, QuestionProperty2: TextInput2.Text,...},
...
)
If you want to save all Questions & Answers into individual SP List (multiple SP lists), I agree with @BenFetters 's thought almost. Please take a try with the following formula:
Patch(
'YourSPList1',
Defaults('YourSPList1'),
{Title: "Questionnaire Test", QuestionTitle: "Question1", QuestionProperty1: TextInput1.Text, QuestionProperty2: TextInput2.Text,...}
);
Patch(
'YourSPList2',
Defaults('YourSPList2'),
{Title: "Questionnaire Test", QuestionTitle: "Question2", QuestionProperty1: TextInput1.Text, QuestionProperty2: TextInput2.Text,...}
);
Patch(
'YourSPList3',
Defaults('YourSPList3'),
{Title: "Questionnaire Test", QuestionTitle: "Question3", QuestionProperty1: TextInput1.Text, QuestionProperty2: TextInput2.Text,...}
);
...
More details about Patch function, please check the following article:
Patch function
In addition, if you want to edit the forms you created, I agree with your thought almost. You could consider add a Gallery control to list all items, then you could filter your own items based on some filter condition, then you could edit it.
Best regards,