Results 1 to 3 of 3

Thread: File Upload Conditions causing issue

  1. #1
    Join Date
    Oct 2008
    Posts
    6

    Question File Upload Conditions causing issue

    I've setup a form to accept file uploads to be emailed to my client. I set a size limit within formmail as well as a file type condition on the form. When that condition is present it asks for a file when one is not attached. I did not require that the user attach a file.

    I used the following condition

    <input type="hidden" name="conditions1" value=":@
    @IF@first_file@first_file~/^.*\.pdf$/i@@You can only upload PDFs@" />

    When I take that out, the form works fine as well as the file upload. However, when I add that condition back in, I get the "you can only upload XYZ" message if I don't attach a file.

    Any help with this would be greatly appreciated.

    Matt

  2. #2
    Join Date
    Mar 2004
    Posts
    2,224

    Default Re: File Upload Conditions causing issue

    that shouldn't happen. are u using the latest version of formmail?

  3. #3
    Join Date
    Jan 2012
    Posts
    2

    Default Re: File Upload Conditions causing issue

    It happens to mee too. What should i do?



    EDIT:

    I found the fix on http://www.tectite.com/vbforums/show...load+condition
    Last edited by rangelrmorais; 22-Jan-2012 at 12:16 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. file upload issue
    By jxhn in forum Community Support
    Replies: 1
    Last Post: 23-Apr-2010, 06:44 PM
  2. Replies: 2
    Last Post: 11-Jul-2007, 07:03 AM
  3. CSV File Issue
    By pcmrfixit in forum Community Support
    Replies: 4
    Last Post: 11-May-2007, 09:26 PM
  4. INI file issue
    By a2rbnud in forum Community Support
    Replies: 0
    Last Post: 04-Apr-2007, 01:56 AM
  5. file upload issue - everything else is perfect.
    By baergnat in forum FormMail Subscription Support
    Replies: 3
    Last Post: 20-Sep-2004, 08:02 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •