Ok. So you also want to modify the way the data is displayed in the entry pages.
What I would suggest then, is that you use the gform_get_input_value (we haven't had a chance to document this hook yet, but it will eventually replace the gform_get_field_value hook).
apply_filters("gform_get_input_value", $input_value, $lead, $field, $input_id)
This hook fires for each input, which means it will fire multiple times for multi-input fields such as name and address. When fired on a multi-input field, the value of the $input_id parameter will have the ID of that specific input. When fired from a single-input field, $input_id will be blank.
Posted 13 years ago on Wednesday July 27, 2011 |
Permalink