• Resolved shahkanji

    (@shahkanji)


    Hi,

    Thinking about installing this into our site. We sell products where customers need to upload artwork. We wanted to use this instead of them having to go to the our wetransfer link.

    Is it possible to create a form then insert this below the form and then submit the information?

    Thanks,

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author ozpital

    (@ozpital)

    Hi @shahkanji, I wrote the plugin for that very reason. A printing company wanted the facility to upload artwork directly from their website rather than bounce the user to WeTransfer.

    You will need a little javascript to capture the ‘ozpital-wpwetransfer-success’ event after a successful transfer. You can then use the data within this event to populate any form fields you need to.

    Note: The current API from WeTransfer doesn’t provide the functions to upload to a WeTransfer Plus account. As soon as that feature becomes available in the API I will add it to this plugin.

    Thread Starter shahkanji

    (@shahkanji)

    Okay. When they upload file and then hit submit on the form… it will email us the information from the form as well as email us the file? Or how does that work?

    Just chiming in here as I’m after the same function.

    @ozpital are you saying it is currently possible to use this uploader on a form (contact form 7 for example) that will generate the URL when sending?

    Plugin Author ozpital

    (@ozpital)

    Hi @greyhood / @shahkanji, it’s currently a two step process.

    Step 1: Upload to WeTransfer and use the ‘ozpital-wpwetransfer-success’ event to populate a form field with the returned WeTransfer url.

    Step 2: Send the form.

    If you wanted to send the form on successful upload then you could always submit the form in the ‘ozpital-wpwetransfer-success’ too.

    Thanks @ozpital

    Do you have documentation for this?

    I’m not sure how to do this but could follow instructions if there are any.

    If not, even sharing a link to an example of the process so I could figure it out.

    Thank you

    Hi again, could you please share how to do this?

    You will need a little javascript to capture the ‘ozpital-wpwetransfer-success’ event after a successful transfer. You can then use the data within this event to populate any form fields you need to.

    Plugin Author ozpital

    (@ozpital)

    Hi @greyhood / @shahkanji – I’ve release an update to the plugin which adds a textarea to add your success event javascript easily.

    I’m not going to teach you javascript but I assure you this is very easy to do. I’ve hopefully made it even easier with the provided CF7 example I’ve added to the admin page.

    If you’re still struggling then it might be worth hiring/asking someone who knows javascript to get this implemented for you. It shouldn’t take any longer than 15 minutes to implement.

    If anyone else reading this can help any user that’s struggling then please do reach out to them. Many thanks.

    Thanks @ozpital

    I will pass this onto someone who can help me with this.

    One last question, is it possible to add the wetransfer box into the contact form itself?

    I tried inserting the shortcode on the contact form page:

    <p>Upload File<br />
        [ozpital-wpwetransfer]</p>

    But the front end just shows the text as is:

    Upload File
    [ozpital-wpwetransfer]

    So is it possible to have the wetransfer within the form itself?

    Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Create a Form with Link’ is closed to new replies.