I'm trying to recreate the repeating table functionality from InfoPath in PowerApps to input data into a SharePoint list...
I have a custom list called "Personal Details" where a user enters their name, address etc.
I then want a repeating table called previous addresses (with fields for address 1, address 2, town, county, postcode).
Looking online (e.g. https://wonderlaura.com/2016/12/21/powerapp-galleries-repeating-tables/) people seem to be suggesting using galleries, but when experimenting I could only use a gallery for viewing existing data which doesn't work for my scenario as there's nothing to view until the personal details form has been submitted.
Ideally the information captured in the repeating element should be in the same list as the "primary data"; I don't mind using a second list that stores the previous addresses if they can link back to the data in the primary form (not sure if that's possible because the form data hasn't been submitted yet). My baseline requirements are that the data is submitted to SharePoint and a form is used to display the data nicely (with a repeating table), and that is stored on SharePoint.
Can this be done in PowerApps? My final solution will also include workflow (hopefully via Flow).
Or is there a better solution?