Merge data from two Forms

Vote:
 

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! 

#197497
Oct 04, 2018 13:36
Vote:
 

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.

#197525
Oct 05, 2018 11:45
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.