Skip to content

Commit f43ab70

Browse files
sbassahspivurno
andauthored
Repopulate Parent Merge Tags When Editing Entries
* Repopulate Parent Merge Tags When Editing Entries * Update gpnf-repopulate-parent-merge-tags-when-editing-entries.js Co-authored-by: David Smith <[email protected]>
1 parent 5191dbf commit f43ab70

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/**
2+
* Gravity Perks // Nested Forms // Repopulate Parent Merge Tags When Editing Entries
3+
* https://gravitywiz.com/documentation/gravity-forms-nested-forms/
4+
*
5+
* Use this snippet to repopulate {Parent} merge tag when editing entries, replacing any previously saved values.
6+
*
7+
* Instructions:
8+
*
9+
* 1. Install this snippet with our free Custom JavaScript plugin.
10+
* https://gravitywiz.com/gravity-forms-custom-javascript/
11+
*/
12+
window.gform.addFilter( 'gpnf_replace_parent_merge_tag_on_edit', function () {
13+
return true;
14+
} );

0 commit comments

Comments
 (0)