Do something immediately before the nested form modal is initialized.
gform.addAction( 'gpnf_init_nested_form', 'myCustomFunction' );
The ID of the nested form being initialized in the modal.
The instance of GPNestedForms (specific to the parent form and Nested Form field) that is initializing the modal.
This action is available since Gravity Forms Nested Forms 1.0-beta-8.25.
Populate the Parent Form ID
This example demonstrates how to populate the ID of the parent form that is loading the child form into a field on the child form. This is useful if you want to apply conditional to your child form based on the parent form from which the child form is being loaded.