Home > Software engineering >  How do you run an Appscript on Form Submission?
How do you run an Appscript on Form Submission?

Time:08-03

I'm trying to create Google Form that redirects to a Web App when a user finishes a form submission.

I have checked the Google Developer documentation, but I can't see an easy way to do this. I have seen this functionality is does not exist natively in Google Form App Scripts, so ideally, I'd like them to press submit and for the app to serve them some html which redirects them to the web app immediately. For example, the code below:

HtmlService.createHtmlOutput( 
"<script>window.location.href = "google.com";</script>");

CodePudding user response:

From the question

I'm trying to create Google Form that redirects to a Web App when a user finishes a form submission.

This isn't possible by using Google Apps Script. The form submit trigger isn't able to interact with the client-side / user interface of the form view. If you really need this kind of customization with Google Apps Script, you could make your form by creating a web application.

Related

  • Related