class FormApp method .setDestination()

FormApp is the Apps Script service.

.setDestination() is the method name you will see after a dot in your code.

What it does

Sends new form responses to a spreadsheet.

Why it's used

  • Send new responses straight into a spreadsheet tab.
  • The usual setup for form-to-sheet automation.

Common errors

  • Forgetting parentheses on setDestination. Write FormApp.setDestination(), not FormApp.setDestination or setDestination by itself.
  • Skipping dots between chained calls. Each step needs a dot, like FormApp.setDestination().
  • Adding spaces where they do not belong. Write FormApp.setDestination(), not FormApp .setDestination(), FormApp.setDestination (), or FormApp . setDestination().
  • Wrong capitalization. Use FormApp and setDestination, not formapp or setdestination.

1 Snippets using this method

Explore

Related methods

2 Better Sheets tutorials

Automate Emails

Automate Emails

Set up automated email notifications based on Google Sheets data. Super ...
Automatic Calculations

Automatic Calculations

Create custom scripts to make your spreadsheets more like tools.

Related blog posts

Written guides about FormApp.setDestination().

Browse the blog