Perch Forms file upload not accepting file types

  • Hello,


    I have a site where I use Perch Forms with an <perch:input type="file" accept="pdf text richtext office" /> field.


    It works correctly on my staging server - files are uploaded, and only the correct mime types are allowed through. However, on the live server, Perch Forms refuses to allow any file to be uploaded unless I remove the "accept" keyword (i.e. so Perch isn't checking mime types). The form doesn't die or anything, it just echoes an "incorrect file type" error message.


    Perch Debug isn't showing my anything of interest.


    Can anyone please help me diagnose where the problem is? Happy to provide more info if needed.


    Thanks,
    Jon

  • George G

    Approved the thread.