Posts: 415
Threads: 0
Joined: Mar 2009
Reputation:
3
Hi there,
We're going to need a bit more detail to help out. Please post a link to your form or provide some additional code. Thanks.
Cheers,
Joe
Posts: 2
Threads: 0
Joined: Nov 2013
Reputation:
0
I'm still not getting it...
I created a php page and a thank you page , also php.
It is located here:http://www.isa-niagara.org/testapiform.php
All I get is a blank page. Actually in Firefox its a blank page but in explorer I get http500 internal server error. Here is the code:
Can anyone help me?
<?php
require_once("home/isaniaga/public_html/formtools/global/api/api.php");
<!-- $fields = ft_api_init_form_page("", "test"); --->
$fields = ft_api_init_form_page(4, "initialize");
$params = array(
"submit_button" => "submit",
"next_page" => "testapiformthanks.php",
"form_data" => $_POST,
"file_data" => $_FILES,
"finalize" => true
);
ft_api_process_form($params);
?>
<Head>
<title>API form test page</title>
</HEAD>
<body>
<p>Hello world, this is my entry form</p>
<!-- <form action="welcome.php" method="post" -->
<form action="<?php echo $_SERVER["PHP_SELF"]?>" method="POST">
<input type="hidden" name="form_tools_form_id" value="4" />
NAME:<input type="text" name="name">
<input type="text" name="company">
<input type="text" name="email">
<input type="checkbox" name="mem" value="Yes">
<input type="checkbox" name="attend" value="Yes">
<input type="number" name="Guest" value="0">
<input type="hidden" name="event" value="techmeet_OSHA" />
<input type="submit">
</form>
</body>
Thanks in advance,
Waffleman
Posts: 2
Threads: 0
Joined: Nov 2013
Reputation:
0
I figured it out.
The path to the server was incorrect and also the HTML-tags were missing.(= Stupid )