我如何找到导致谷歌表单脚本触发的FormResponse响应



我需要找到导致谷歌表单脚本触发的FormResponse的响应。请注意,当同时提交多个提交时,使用最后一个回复有时是不正确的。我通过测试确认了。

您将获得连接的response作为事件对象传递给函数。

function onFormSubmit(e/*event object passed, when triggered*/){
const response/*The response this function is triggered with*/ = e.response;
}

最新更新