Hey -
I need to pre-populate a hidden field in a form with the current forms description. I have multiple forms, so I don't want to have to add in ID's.
I was hoping something as simple as this would work:
add_filter('gform_field_value_param_name', 'custom_function');
function custom_function($value){
$desc = $form['description'];
return $desc;
}
But, it does not. Any thoughts on how to do this. I am going to be pulling entries to the front end of the site and listing what form they have submitted. so this information is necessary.
Thanks.