Problem with Form and file upload

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Darctanion
    replied
    Re: Problem with Form and file upload

    Thank you Naval very imformative as always =)
    Will do.

    Leave a comment:


  • navaldesign
    replied
    Re: Problem with Form and file upload

    This is never going to work. You have done the following mistakes:
    1. You have pasted the php script of the "How to upload a file using a form" tutorial, in your form page. It doesn't go here, it should go in your action (thank you) page.
    2. The code appears because the page is html. When you paste it in your thank you page, you should publish the page as php and not as html.
    3. The script is onlu intended for one upload field, and not for many. You either change it or you simply use ABVFP that will automatically take care of the multiple uploads.
    4. In any case, if you use this script, modifyingit for multiple files, change the http://www.yourdomain.com/uploads/ to be your real domain name and upload folder.

    Leave a comment:


  • Darctanion
    replied
    Re: Problem with Form and file upload

    Thanks Watdaflip,

    I moved the submit button onto the form field.

    Also i found the upload tutorial and i pasted the code to make uploads work. Problem is now on the form there is a bunch of code words all over the top of the form. www.drwdesigners.com/templateform.html

    Anyone know the fix?

    Thanks.

    Leave a comment:


  • Watdaflip
    replied
    Re: Problem with Form and file upload

    Your submit button is outside the form.

    Leave a comment:


  • Darctanion
    started a topic Problem with Form and file upload

    Problem with Form and file upload

    Hello all,

    I put together a form on my website with multiple file uploads. The Form works fine without the file uploads, but when i added them in...i click submit and nothing happens.

    Site is www.drwdesigners.com/templateform.html under quote then template form.

    My thanks.
Working...