File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 55 *
66 * Getting started:
77 *
8- * 1 - Copy and paste this code into your theme's functions.php file.
9- * 2 - Add a Single Line Text field (or any field you would like to populate with a unique ID) to your form.
10- * 3 - Enable the "Allow field to be populated dynamically" setting under the Advanced tab on the field settings for the newly created field.
11- * 4 - Set "uid" as the value for the Paramater Name setting (screenshot: https://gwiz.io/2HhtBTa).
8+ * Instructions:
9+ * 1. Copy and paste this code into your theme's functions.php file.
10+ * 2. Add a Single Line Text field (or any field you would like to populate with a unique ID) to your form.
11+ * 3. Enable the "Allow field to be populated dynamically" setting under the Advanced tab on the field settings for the newly created field.
12+ * 4. Set "uid" as the value for the Paramater Name setting (screenshot: https://gwiz.io/2HhtBTa).
1213 */
1314add_filter ( 'gform_field_value_uid ' , function ( $ value , $ field ) {
1415
You can’t perform that action at this time.
0 commit comments