Using this filter is not working with Drop Down or Radio fields. I have set field to be populated dynamically gave it parameter name: products, and tried using this code:
add_filter('gform_field_value_products', 'populate_products');
function populate_products($values) {
return array('Value 1', 'Value 2');
}
Field still shows what ever is set for values in form designer. I tried removing all values from designer, but one value always remains.
Milan