Support » Plugin: Contact Form 7 Dropbox » Error when trying to upload files

  • Resolved tristanaqb

    (@tristanaqb)


    I keep getting this error when I try to upload files using this plugin.

    Uncaught TypeError: Cannot read property ‘files’ of null
    at wpcf7_dropbox_upload_file (VM783 wpcf7-dropbox-script.js:28)
    at HTMLDocument.<anonymous> (VM783 wpcf7-dropbox-script.js:16)
    at Object.wpcf7.triggerEvent (scripts.js?ver=5.1.3:367)
    at ajaxSuccess (scripts.js?ver=5.1.3:281)
    at Object.<anonymous> (scripts.js?ver=5.1.3:350)
    at i (jquery.js?ver=1.12.4-wp:2)
    at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
    at x (jquery.js?ver=1.12.4-wp:4)
    at XMLHttpRequest.c (jquery.js?ver=1.12.4-wp:4)

    This is my Form config:

    <label> Your Name (required)
    [text your-name] </label>

    <label> Your Email (required)
    [email* your-email id:email] </label>

    <label> Subject
    [text your-subject] </label>

    <label> Your Message
    [textarea your-message] </label>

    <label> Upload Stuff
    [file FILE1 limit:19gb filetypes:cad|stl|obj|iges|jpg id=FILE1] </label>

    [submit “Send”]

    And my Dropbox Settings:

    File Input IDs: FILE1

    Dropbox Folder: email

    • This topic was modified 6 months ago by tristanaqb.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • tristanaqb

    (@tristanaqb)

    Fixed the issue. I had a typo and used “=” instead of “:” in the file tag

Viewing 1 replies (of 1 total)
  • The topic ‘Error when trying to upload files’ is closed to new replies.