Description
Filter whether GPNF should re-populate any parent merge tags when editing an entry.
Return “true” to enable this behavior.
Usage
gform.addFilter( 'gpnf_replace_parent_merge_tag_on_edit', 'my_custom_function' );
Parameters
replace_parent_merge_tag boolean
Whether or not to re-apply parent merge tags. Default:
false
formId int
The parent form ID.
Since
This JavaScript filter is available since Gravity Forms Nested Forms 1.0-beta-9.28.
Examples
Re-populate parent merge tags when editing entries replacing any previously saved value.
<script>
window.gform.addFilter('gpnf_replace_parent_merge_tag_on_edit', function () {
return true;
});
</script>