Google Sheets
The System - JoomForms Google Sheets plugin adds a row to a Google spreadsheet for each submission, so you can share the answers with people who have no access to your site.
The plugin uses an older Google API library (2015). It connects with OAuth and the Sheets API v4. Test it on your site before you rely on it, and keep the submissions in your database as well.
What you need
-
A Google account and a project in the Google Cloud console with the Google Sheets API turned on.
-
OAuth credentials of type Web application, with this Authorized redirect URI (use your own domain):
https://example.com/administrator/index.php?option=com_joomforms&task=plugin&plugin_task=store_google_sheets_access_token -
The plugin enabled in Extensions > Plugins.
Connect the plugin
- Open the plugin. Enter the Google Client ID and Google Secret and save.
- Click Authenticate and allow access with the Google account that owns the spreadsheet.
- Back in the plugin, the status panel shows the access token, its expiry and the scope. Renew Token gets a new one, Revoke Token disconnects the site.
Per-form settings
On the form's Integrations tab, sub-tab Google Sheets:
| Setting | Meaning |
|---|---|
| Use Google Sheets | Turns it on for this form. |
| Update Sheet When Payment is Complete | Waits for the payment to be confirmed. See Payments. |
| Spreadsheet ID | The long code in the spreadsheet's address, between /d/ and /edit. |
| Sheet Name | The tab of the spreadsheet, for example Sheet1. |
| Column mapping | The headers in the first row of the sheet are listed. Map each one to a form field or placeholder. |
| Show API Messages | Shows Google's errors on the form. Use it while you test. |
The last errors of the form are listed at the bottom of the sub-tab.
Put the column headers in the first row of the sheet before you set up the mapping.