Dec 10th, 2011, 12:15 PM
I am doing everything correct (apparently not).
CODE:
<?php
irequire_once("../data/global/api/api.php");
ft_api_start_sessions();
$fields = isset($_SESSION["form_tools_form_data"]) ?
ft_strip_tags($_SESSION["form_tools_form_data"]) : array();
$fields = ft_api_init_form_page(11);
$params = array(
"submit_button" => "Submit",
"next_page" => "../thanks/index.php",
"form_data" => $_POST,
"file_data" => $_FILES,
"finalize" => true
);
ft_api_process_form($params);
?>
SAMPLE FILEDS:
<input type="text" name="phone" class="form_box" size="50" value="<?=@$fields["phone"]?>" />
<textarea name="message" cols="50" rows="3" ><?=@$fields["message"]?></textarea>
CODE:
<?php
irequire_once("../data/global/api/api.php");
ft_api_start_sessions();
$fields = isset($_SESSION["form_tools_form_data"]) ?
ft_strip_tags($_SESSION["form_tools_form_data"]) : array();
$fields = ft_api_init_form_page(11);
$params = array(
"submit_button" => "Submit",
"next_page" => "../thanks/index.php",
"form_data" => $_POST,
"file_data" => $_FILES,
"finalize" => true
);
ft_api_process_form($params);
?>
SAMPLE FILEDS:
<input type="text" name="phone" class="form_box" size="50" value="<?=@$fields["phone"]?>" />
<textarea name="message" cols="50" rows="3" ><?=@$fields["message"]?></textarea>