Following the Gravity guidelines you set up the hook to call your own
function - in the case below the function is after_submission().
You can access the input values of individual form elements using their IDs like so;
You can access the input values of individual form elements using their IDs like so;
add_action("gform_after_submission",
"after_submission", 10, 2);
function
after_submission($entry, $form){
$name = $entry["2"];
$address = $entry["17"] . ', '.
$entry["18"] .', '. $entry["19"];
}
No comments:
Post a Comment