Apr 10th, 2010, 4:44 PM
Ah, sure no problem!
I didn't realize you were using the API. To pass values to the receipt page using the API, you need to manually append them to the "next_page" value. So try something like this:
I think I got that right... let me know if you have any trouble!
- Ben
I didn't realize you were using the API. To pass values to the receipt page using the API, you need to manually append them to the "next_page" value. So try something like this:
PHP Code:
<?php
require_once("../NewForms/global/api/api.php");
$fields = ft_api_init_form_page(3);
$submission_id = $fields["form_tools_submission_id"];
$unique_key = $fields["unique_key"];
$params = array(
"submit_button" => "Submit",
"next_page" => "success_GDF.php?submission_id=$submission_id&unique_key=$unique_key",
"form_data" => $_POST,
"finalize" => true
);
ft_api_process_form($params);
?>
I think I got that right... let me know if you have any trouble!
- Ben