The File Uploads add-on needs to be installed and activated to see the features mentioned in this this documentation.
A File Uploads field can be added to the form by clicking on the Add Field Button on the bottom right, then choosing the File Upload field from the list.
Attaching File Uploads to Email
This can be accomplished in two ways, the first method via merge tag, which will then create a link to the file/s uploaded in the received email.
- From the Emails and Actions tab, edit the email notification action’s by clicking on the action gear symbol. From here, click the merge tag button located in the Email Message line, shown below. 2. Add in the File Uploads merge tag to the Email Message body by simply clicking on it. Should your list show many merge tags, and you have trouble locating the correct tag, feel free to take advantage of the merge tag search bar and type File Uploads to locate the appropriate tag.
The second method (below) will attach the file itself to the email.
- From the Emails and Actions tab, edit the email notification action’s by clicking on the action gear symbol.
- From the pull out drawer, scroll down to the Advanced tab and click to drop down.
- Then activate (click) the Attach File Uploads toggle.
Save the File Upload to an External Service
To save the File Upload to an External Service, you can add an External File Upload Action to your form.
File Uploads Plugin Settings (Forms > File Uploads)
Browser Uploads tab – It shows a sortable list of the files uploaded through your server.
- Max File Size (in MB) – The Max File Upload size allowed per form.
- File upload error message – The Error Message that the user receives when the Max File Size is met.
- Custom Directory – Is used to create dynamic directories.
If you migrate from another server and the File Uploads path is pointing to the older server location, you can deactivate then reactivate your File Uploads and Ninja Forms plugins to reset the file path.