【发布时间】:2021-10-20 04:10:48
【问题描述】:
我需要在FormResponse 中找到导致 Google 表单脚本触发的响应。
请注意,当同时进行多个提交时,使用最后一个响应有时是不正确的。我通过测试确认了。
【问题讨论】:
标签: google-apps-script google-forms
我需要在FormResponse 中找到导致 Google 表单脚本触发的响应。
请注意,当同时进行多个提交时,使用最后一个响应有时是不正确的。我通过测试确认了。
【问题讨论】:
标签: google-apps-script google-forms
您将把连接的response 作为event object 传递给函数。
function onFormSubmit(e/*event object passed, when triggered*/){
const response/*The response this function is triggered with*/ = e.response;
}
【讨论】: