I have a requirement to build a dynamic survey with ability to have multiple pages. I flowed Power Apps Dynamic Form Schema | Add Controls on the fly.
Now how to allow multipage survey, I added a new column to the question template list, keep track of total page and current page and filter the gallery based on the current page.
Now the issues I am running into is how to save on each page. So I planning to save only the visible item in each page and concatenate the result from each screen.
This is the code used in the demo to collect the data and save it in the JSON format. I was hoping to be able to add this to Updateif && ThisRecord.Page = CurrentPage), and only update the items on that page. But it is not working??? Thought???
ForAll(colGalData,
UpdateIf(colSubmit, (Title = colGalData[@Title] && ThisRecord.Page = CurrentPage),

Report
All responses (
Answers (