I want to automatically select values in a Chosen dropdown but can't manage to do it.
Here the code I use :
add_filter(gform_field_value_chosenbox, create_function('', "return '{$inherited_value}';"));
with :
print_r($inherited_value);
returning :
Array ( [0] => Item1 [1] => Item4 )
Just to mention that these values (Item1 and Item4) are configured the same way in the form (Label and Values are the same).
Thank you for your cooperation !