Filter whether the child entry should be deleted. Useful for adding custom confirmations before deleting.
gform.addFilter( 'gpnf_should_delete', 'my_custom_function' );
Whether the child entry should be deleted. Defaults to
The child entry being deleted.
The element that triggered the deletion.
Current instance of the GPNestedForms object.
Add confirmation to Delete buttons in the parent form
This snippet adds a confirmation to the Delete buttons in the parent form much like the confirmation when deleting from the Edit modal.
This filter is available since Gravity Forms Nested Forms 1.0-rc-1.10.