Hi Tim,
I don't believe there's an in-built way to achieve that, but I do have a relatively simple idea for how to go about it.
The primary obstacle is for the Thank You page to "know" about the data you want to use, which by default it won't. So the easiest route would be to pass the data you need straight through with the URL so that it can be accessed with the $_GET variable. For example:
// on success
$redirectUrl = "https://domain.com.au/thanks/";
$redirectUrl .= "?first_name=" . urlencode($_REQUEST['first_name']);
$redirectUrl .= "&last_name=" . urlencode($_REQUEST['last_name']);
redirectBrowserToURL($redirectUrl);
exit;
}
Then on the Thank You page, you could use something like this:
Thank you <?php echo htmlencode(@$_GET['first_name']); ?> <?php echo htmlencode(@$_GET['last_name']); ?> for submitting.
Let me know if you have any questions!
Thanks,
Daniel
Technical Lead
interactivetools.com