How to post documents to Wordpress media library via form

  • Ron_Salomon
    Asked on November 5, 2021 at 12:08 PM

    I would like to create a form to post uploaded files directly to my Wordpress media library.

    Is that possible and how do I achieve that?

  • Johann_A
    Replied on November 5, 2021 at 3:15 PM

    Hi,

    I'm sorry, I'm afraid we don't have this option.

    Can you be more specific?

    We do have an option to embed the form on WordPress: you would need to install the free JotForm WordPress plugin, which you can find here https://wordpress.org/plugins/embed-form/ or search the WordPress plugin library for "Jotform Online Forms".

    Waiting for your answer,

    Johann


  • Ron_Salomon
    Replied on November 5, 2021 at 3:38 PM

    Hi Johann,

    When a person submits a form we would like the files that they upload to the form to be automatically deposited in the media library of our Wordpress site. See below.

    1636141092 61858824b96aa  Screenshot 10

  • Ron_Salomon
    Replied on November 5, 2021 at 3:44 PM
    Hi Johann,
    When person fills out the form and uploads a file, we would like that file to be automatically deposited into our media library in Wordpress.
    [cid:image001.png@01D7D25B.62294E10]
    Thanks,
    Ron Salomon
    Chief Technology Officer
    ...
  • Kat JotForm Support
    Replied on November 5, 2021 at 6:46 PM

    Hi Ron,

    Happy to help!

    There isn't currently a way to automatically do this through Jotform, but you may be able to use Webhooks to automatically upload files to your WordPress website, however, you need to write the code for it since there is no native way to do this in JotForm.

    Here are some of our articles on how this could work:

    Jotform Webhook integration

    How to upload files from URL

    Would this be a viable workaround for your needs?