Is there any way to merge the submission data of two Forms programmatically? Given that the formelements of both forms match. My first thaught was to loop through the submissions of one form and programmatically submit them to the next but I am stuck trying to create new submissions in existing forms.
Any help or tips would be appreciated!
Before you can merge submission of 2 forms, you need to know mapping bettween each fields. Example field "_field_123" in Form 1 will be merge to "_field_456" of Form 2. Then you get instance of ISubmissionStorage which allow you load, save.. your submissions. Loading submissions of the Form 1 then create new [Submission] object with fields which matched with the Form 2. Finally call SaveToStorage to save data into Form 2.