Last commit before activation
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user