I have a form where people enter some stuff. Then on submission it takes them to a forum page with a separate field on the page (not a gravity form generated field.)
I want to "grab" the input from one of the fields on my gravity form and then have it populate that field on the next page.
Here's what I have most recently...
$resource_url = null;
add_action('gform_after_submission_7', 'resource_submission_handler', 10, 2);
function resource_submission_handler($entry, $form){
$GLOBALS['resource_url'] = $entry['30'];
}
Then I have this on my other page — the one I want to populate...
<input type="text" value="<?php echo $GLOBALS['resource_url']; ?>" tabindex="<?php bbp_tab_index(); ?>" name="resource_url" id="resource_url"/>
If I change "null" to something it will put that something in. But I can't get it to update based on the input of the gravity form.
Here's hoping some weekend warriors will help out! ;)