Auto-attach Child Entries to Parent when Editing via Gravity Flow.
By default, when adding a new child entry to a Nested Form field while editing a parent entry via Gravity Flow, the child entry is saved to the session and will not be attached to the parent entry unless you click “Submit” on the workflow.
Use this snippet to automatically attach the child entry to the parent as soon as the child form is submitted.
Instructions
See “Where do I put snippets?” in our documentation for installation instructions.
Code
Filename: gpnf-gflow-auto-attach-child-entries.php