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:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
File upload field not working
#1
Hello. I have FormTool 2.0.6 installed. I have a simple testimonial form where I want the option of uploading a photo file. I did check that there would be an upload field.

Here is a link to a snapshot of my Formtools "files" window.
FormTools"fileshttp://screencast.com/t/xuE2gM7hs

Here is my code. Do I need to add any more code to the html form?
<form action="http://www.premiumprotectivecoatings.com/form_tools/process.php" method="post" enctype="multipart/form-data">
<input type="hidden" name="form_tools_form_id" value="9" />
<table border="0" cellspacing="0" cellpadding="5">
<tr>
<td class="text">First Name
<label></label>
: </td>
<td class="text"><input name="FirstName" type="text" id="FirstName" value="" size="25"></td>
</tr>
<tr>
<td class="text">Town
<label></label>
: </td>
<td class="text"><input name="Town" type="text" id="Town" value="" size="25"></td>
</tr>


<tr>
<td class="text">
<label for="testimonial">Enter your<br>
testimonial here.</label></td>
<td class="text"><textarea name="testimonial" id="testimonial" cols="45" rows="7"></textarea></td>
</tr>
<tr>
<td class="text">

<label for="upload">Upload a photo</label>
</td>
<td class="text"><input type="file" name="upload" id="upload"></td>
</tr>

<tr>
<td class="text">
</td>
<td class="text">
<input type="submit" name="submit" id="submit" value="Submit">
</td>
</tr>
</table>
</form>

Thank you forum members for any help.
Reply
#2
Hi Jim,

Sorry you're having trouble!

So when you click the "Test Folder Permissions" and "Confirm Folder-URL Match" buttons on the Settings -> Files page, you get both success messages?

Secondly, try this: in Form Tools, create a submission and upload the same file you're trying to do so with your form. Does it upload properly there?

- Ben
Reply
#3
Thanks, Ben for the post.
Yes I got both success messages.
How do I CREATE a submission from within my FormTools admin?

(Jun 22nd, 2011, 4:29 AM)Ben Wrote: Hi Jim,

Sorry you're having trouble!

So when you click the "Test Folder Permissions" and "Confirm Folder-URL Match" buttons on the Settings -> Files page, you get both success messages?

Secondly, try this: in Form Tools, create a submission and upload the same file you're trying to do so with your form. Does it upload properly there?

- Ben

Reply
#4
So far so good!

To add submissions directly within Form Tools, you need to enable it for the View. Just edit one of your form Views and on the first tab, set the "May add submissions" setting to "yes". Then view the form submissions (with the View you just changed) and click the "Add" button.

Let me know how it goes!

- Ben
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)