I'm trying to dynamically populate a dropdown box. Though I eventually hope to pull some values out of the WP DB, right now I can't even get the hooks tutorial working using the default values.
In the dropdown, dynamic population is checked with a parameter name of "your_parameter".
In functions.php, this code exists:
add_filter('gform_field_value_your_parameter', 'my_custom_population_function');
function my_custom_population_function($value){
return 'boom';
}
And yet, on my form, the "Venue" dropdown (which the parameter is attached to) remains completely empty. What am I doing wrong?