2

how to make Google Forms execute a script after submit instead of showing Confirmation message?

I tried setting a trigger from the Script Editor in the form which makes and shows a new html page:

function respondToFormSubmit(e) {
  return HtmlService.createHtmlOutputFromFile('index');
}

and in Edit -> Triggers for current project I set it run on form submit but it does not.

1 Answers1

3

Seems like you can't.

In Google Forms, custom user interfaces are only visible to an editor who opens the form to modify it, not to a user who opens the form to respond.

Source: HTML Service documentation

Antoine Colson
  • 660
  • 5
  • 8