Do you know you can allow users to upload necessary files from MetForm and store them in Google Drive? In this documentation, we will explain exactly how to use Google Drive Uploader Field with MetForm and upload any files from MetForm to Google Drive.
Step-1: Install & Activate Necessary Plugins
Make sure you have successfully installed both MetForm & Integrate Google Drive plugin inside your WordPress dashboard. Both of the plugins are required to enable uploading to Google Drive.
Step-2: Connect Google Account
To connect to your Google Account, navigate to Google Drive > Settings > Accounts > Add New Account > Connect your preferred Google Account. Note: Uploaded files will be stored in this Google Drive account. Make sure you have connected to the right account.
Step-3: Enable MetForm Integration
Navigate to Google Drive > Settings > Integrations > Enable MetForm Integration. This will allow you to enable the Google Drive Upload field inside the MetForm.
Step-4: Add Google Drive Upload Field
To add a Google Drive upload field inside MetForm, navigate to MetForm > Forms > Add New > Name Form > Choose Form Template > Cick Edit Form > Search for “Google Drive Upload” Widget > Drag & Drop where you want to place the upload field.
Click Configure to set up the form as you need.
- From Source Tab select the folder where you want the uploaded file(s) to be stored.
- Create Entry Folders will create a new folder for each form entry. You can also set the form entry folder name template.
- From the Filters Tab, you can Allow/ Disallow file extensions, Max/ Min File Uploads, and Max/ Min file size.
- From the Advanced Tab, you can set the file renaming template by yourself.
Click “Save Changes” > “Update & Close” when customization is done.
Copy the Shortcode and paste it inside any page or post to display the form.
You have successfully set up the Google Drive upload field for MetForm. If any user uploads file(s) from the page or post, all the files will be stored inside your Google Drive account.
You can view form submissions from MetForm > Entries. Also can view form submissions from your email.