I have a subform within a subform, the first subform set the instance of the second subform using this script:
When I save and reopen the document the data in the second subform from the other instances of the first subform all appear under the first instance of the first subform.
Any assistance would be greatly appreciated.
I don't get what you're doing.
But from your description the script above meakes no sense to me as a subforms doesn't have a rawValue.
Please add a more detailed description or a link where I can download your form.