FORUMS


The Form Tools forums are no longer active, but the old posts have been archived here. Please see the Help page on how to get help / report issues.

Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Everything showing up, except uploads
#1
All my fields are showing up in Step 4, except my uploads.

In my first page:
Code:
<?php
require_once("forms/global/api/api.php");
$fields = ft_api_init_form_page(4, "initialize");
$params = array(
  "submit_button" => "submit",
  "next_page" => "employment2.php",
  "form_data" => $_POST,
  "file_data" => $_FILES
    );
ft_api_process_form($params);
?>

On the page with the uploads:
Code:
<form action="<?php echo $_SERVER["PHP_SELF"]?>" method="post" enctype="multipart/form-data">

and

Code:
<label for="PictureOne">Picture 1:</label>
<input type="file" name="PictureOne" id="PictureOne" />

<label for="PictureTwo">Picture 2:</label>
<input type="file" name="PictureTwo" id="PictureTwo" />

<label for="PictureThree">Picture 3:</label>
<input type="file" name="PictureThree" id="PictureThree" />

I put this code in the header on all the other pages, too, is that the right thing to do? Is it necessary to carry it over?
Code:
"file_data" => $_FILES

This is my second attempt with this form. The strange thing is that it worked the first time. So I don't know what I changed to make it stop working. Sad I'm uploading the same pictures during the Test Submission step as I did before when it worked.
Reply
#2
Admin,

Can I get some support? I would be willing to donate to your project if I could get this working like it should. Please help. This form cannot proceed without the image uploading. Sad

Thank you!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)