In version 1.4 I used to be able to modify the form object and modify the fields with their id's like such:
add_action("gform_pre_submission", "liberal_handle_forms");
function liberal_handle_forms($form_meta){
$form['5.2'] = 'foo';
return $form_meta;
}
But that doesn't work anymore, I can't seem to find the results anywhere. Neither in gform_pre_submission or in gform_pre_submission_filter.
The current documentation doesn't seem to refer anywhere on how to change the values of fields before saving them, Am I looking at the wrong place?
Thanks,
-Steph