class FormApp method .getPublishedUrl()

FormApp is the Apps Script service.

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

What it does

Returns the public link respondents use to fill out the form.

Why it's used

  • Drop the public fill-out link into an email or site.
  • Share the respondent URL without opening Form settings.

Common errors

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

Explore

Related methods

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.
Curate Google Sheets Easily - Automatic Bookmarklet Maker

Curate Google Sheets Easily - Automatic Bookmarklet Maker

Curated sites, articles, and more web resources super easily into a Goog...
Different Kinds of Automation

Different Kinds of Automation

A brief description of types of automation. I go way more in depth in “M...
How to Power Testimonials with Google Forms and Sheets

How to Power Testimonials with Google Forms and Sheets

I show you how I use a Google Form and a Google Sheet to power the testi...

Related blog posts

Written guides about FormApp.getPublishedUrl().

Browse the blog