Description
Do something after a child entry has been duplicated on the frontend.
Usage
gform.addAction( 'gpnf_post_duplicate_entry', 'my_custom_function' );
Parameters
entry object
The properties of the child entry including field values.
response object
The full response from the duplication AJAX request.
Since
This filter is available since Gravity Forms Nested Forms 1.0-beta-8.70.
Examples
Open Edit modal after child entry is duplicated.
gform.addAction( 'gpnf_post_duplicate_entry', function( entry, data, response ) {
jQuery( 'tr[data-entryId="{0}"]'.format( entry.id ) ).find( '.edit a' ).click();
} );