You have to get the data into the main data source, the secondary data does not persist in the form.
However, you don't have to show those fields in the UI, you can have hidden fields in InfoPath that the data is copied into so that it's gets promoted.