---
title: "Google Form &#8211; use a switch to determine save location"
author: "Phil Bainbridge"
date: 2020-05-21T12:20:50+00:00
modified: 2020-05-21T12:20:54+00:00
canonical_url: https://pulse.appsscript.info/p/2020/05/google-form-use-a-switch-to-determine-save-location/
markdown_url: https://pulse.appsscript.info/p/2020/05/google-form-use-a-switch-to-determine-save-location.md
categories:
  - "Forms"
  - "Snippet"
tags:
  - "pbainbridge.co.uk"
description: "The following code is designed to take a specific option selected on a Google Form and use that to determine where something could be stored. The example it was developed for was Risk Assessments where..."
---

# Google Form &#8211; use a switch to determine save location

> The following code is designed to take a specific option selected on a Google Form and use that to determine where something could be stored. The example it was developed for was Risk Assessments where depending on the type of assessment selected on the Form the generated file was to be saved in a specific Google Drive folder.

Source: *[The Gift of Script: Google Form – use a switch to determine save location*](https://www.pbainbridge.co.uk/2020/04/google-form-use-switch-to-determine.html)

---

*Published by [Phil Bainbridge](https://pulse.appsscript.info/p/author/phillipbainbridge/) on [Pulse](https://pulse.appsscript.info/). Original article: [https://pulse.appsscript.info/p/2020/05/google-form-use-a-switch-to-determine-save-location/](https://pulse.appsscript.info/p/2020/05/google-form-use-a-switch-to-determine-save-location/)*
