that shouldn't happen. are u using the latest version of formmail?
Welcome to the Tectite Forums! You can download and get support for our free PHP FormMail (form processor) and other free software.
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
that shouldn't happen. are u using the latest version of formmail?
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.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks