Support » Plugin: Contact Form 7 » Cannot attach file on Android

  • Resolved Patrick.Tingen

    (@patricktingen)


    Hi, first of all, thanks for this fantastic plugin. I have been using this for a few years now on our site and it has served me well.

    However, I noticed that my users cannot attach an image to a form when they access the site from their phone. The forms work as expected on a desktop computer so the setup of the form looks ok (I can select an image and send it). Is this something in CF7 or is this a limitation of the mobile OS?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    Some mobile devices put a restriction on file uploading through web forms. Contact the vendor support for details.

    Thread Starter Patrick.Tingen

    (@patricktingen)

    Thanks for your reply, I managed to get it to work using the tip in the post from mrpilot2

    This alternative option is a really quick and easy fix. Simply add the following to your wp-config.php file (the comment line is optional). I add it fairly near the top after the intro comment in that file. The form works a treat even with the file upload feature.

    // ** Turn off JS for Contact Form 7 ** //
    define('WPCF7_LOAD_JS', false);
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cannot attach file on Android’ is closed to new replies.