Could you please share a bit more about your scenario?
Do you want to submit your form data for each recipient within your Gallery?
Further, could you please share a screenshot about your app's configuration?
Based on the needs that you mentioned, I think the SubmitForm() function could not achieve your needs. As an alternative solution, I think the combination of ForAll function and Patch function could achieve your needs.
I have made a test on my side, please consider take a try with the following workaround:
Set the OnSelect property of the "Submit" button to following:
ForAll(
RenameColumns(Gallery.AllItems, "id", "id1"),
Patch(
'YourDataSource', /* <-- The 'YourDataSource' represents the data source your Form9_3 connects to */
Defaults('YourDataSource'),
{
id: id1,
Coumn2: Column2FromYourGallery,
Column3: Column3FromYourGallery,
...
}
)
)
Note: The Column2FromYourGallery, Column3FromYourGallery, ... represents the column values from your Gallery. Within the '{}' part of the Patch function, you could reference column values from your Gallery. The id, Column2, Column3, ... represents the columns in your data source (your Form9_3 connects to).
More details about the ForAll function, Patch function and RenameColumns function, please check the following article:
ForAll function
Patch function
RenameColumns function
Best regards,
Hi @beniwal ,