How To Send a File After a Form is Submitted

Share files with your coworkers afterward your customers upload them to your form.

Non already signed upward for Wufoo? Allow's get started!

How To Send a File Later a Form is Submitted

Past Chris Coyier

There are lots of reasons you lot might want to ship to a file to a user after they accept submitted a course. Here's a few examples:

  • Give away a gratis eBook subsequently signing up for a newsletter.
  • Make a MP3 files bachelor for a freebie bonus download subsequently requesting booking information from a band
  • Accept a PDF of a charter agreement available to download/print/sign after an apartment rental form

Download File in Confirmation

Download Link in Confirmation Message

To do this on your Wufoo course, you can provide a link to download the file by using HTML within the class's confirmation bulletin. You do this from the Form Settings tab while editing the grade in the Form Builder. The actual HTML of the link is like:

                  <a href="http://yourwebsite.com/file.doc">     Download File </a>                

Download Link in Confirmation Electronic mail

Putting the download link in the bulletin equally shown in a higher place is overnice because it'due south available to the user immediately. Information technology tin can exist fleeting though. If the user closes the window before clicking that link, it'due south gone. Instead you could put the download link in the confirmation email (or, of grade, both places). The reward of the email is that the user will accept a place to reference that link every bit long as they tin can admission that email.

To the download link to the confirmation email, click the Send Confirmation Email to User link the Form Settings area while editing the form in the Class Builder. Then click the Customize Confirmation Email button, which will open a popup window where y'all can customize the content of that electronic mail. In the textbox in that location, utilize the same HTML code as above.

HTML in Confirmation Email

Where can I host my files?

Discover in the in a higher place code examples we linked to the files with URL like http://yourwebsite.com/file.physician. This is an case where you have your own domain proper noun and your own server where y'all tin can upload and host your own files. If you don't have that, there are web services out at that place that can help you host files and make them bachelor for public download. All of these take gratis options:

  • CloudApp and Droplr are little applications that alive in your bill of fare bar and permit you to upload files right from your reckoner and get public URL's to those files.

  • Dropbox is a service which syncs files between your computer and their servers (and possibly your other computers). Files in your "Public" folder have public URL's to them.

What if I want to attach the files in the e-mail?

While we don't have that characteristic built into Wufoo, if you've got a picayune chip of programming chops, you can check our our really easy tutorial on how to utilise our WebHooks API to send emails with the attachments straight from your own web server.