First, we need create simple form as show below using SharePoint list which has the following columns - Full Name, attachments inbuild column.
Next, we need add two attachments “datacard” by navigating to field property of the form has shown in below screen.
By Clicking on fields, we can add multiple “data cards” on the form.
Now, basically if we submit the form what will happens is all the “data fields” inside the “data cards” get submitted into the list. But you will see only one attachment will get submitted.
To Resolve this issue, we will get all the attachments from the attachments controls, and we need to remove the “data fields” from the both attachments has shown in below screens.
Next, we need to add another form inside the screen and must connect same “data source” as the previous form and add one more attachment control.
we need to set collection to the need added attachment control, later we need hide this form from screen.
Then simply by submitting the main form which is form1. then we need to patch the 2nd form and updates function into the same record by using "Form1.LastSubmit.ID".
Now if we submit the form we will see all the attachments from both the controls are there inside the list and before the form gets reset you need to turn on the visibility of the 2nd form, you will see something like below screen.
This Data is finally submitted list.
Thank you..!