Created
February 15, 2013 13:35
-
-
Save WebEndevSnippets/4960405 to your computer and use it in GitHub Desktop.
Gravity Forms: Dynamic Population Of Field
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Patient Name Dynamic Population | |
* | |
*/ | |
add_filter('gform_field_value_patient_name', 'patient_name_population_function'); | |
function patient_name_population_function($value){ | |
$name = $_POST['input_20_10']; | |
return $name; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment