Last commit before activation

This commit is contained in:
Moritz Graf
2026-04-25 13:58:01 +02:00
parent d7c89fda4e
commit 0a65f0f092
3 changed files with 17 additions and 2 deletions
+7 -1
View File
@@ -55,7 +55,13 @@ function setup() {
}
}
// Install the onChange trigger (required for Google Forms integrations)
// Install the onFormSubmit trigger (specifically for Google Forms submissions)
ScriptApp.newTrigger('syncForwardings')
.forSpreadsheet(ss)
.onFormSubmit()
.create();
// Also install an onChange trigger as a fallback (for manual sheet edits)
ScriptApp.newTrigger('syncForwardings')
.forSpreadsheet(ss)
.onChange()