Here's my function:
add_action('gform_pre_submission_filter_2', 'combinefields');
function combinefields($form) {
$_POST['input_16'] = $_POST['input_11'];
return $form;
}
I have not been able get to hidden field 16 populated from checkbox list 11 in form ID2. My main goal is to concatenate two fields into one, so we can send a single field of content to another Add-on to send to Salesforce. I'm stumped why this isn't working with one field. The hidden field has the box checked for "Allow field to be populated dynamically."
Any suggestions?