Skip to content

Commit 2f7845c

Browse files
authored
Formatting: Fixed instructions format.
1 parent bc17c96 commit 2f7845c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

gp-unique-id/gpuid-dynamic-population.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@
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
*/
1314
add_filter( 'gform_field_value_uid', function( $value, $field ) {
1415

0 commit comments

Comments
 (0)