表单加载时运行google apps脚本 [英] Run google apps script when a form loads

查看:113
本文介绍了表单加载时运行google apps脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图将文件上传到我的谷歌驱动器。我已经搜索并找到了上传文件的相关代码。我已经测试过它,它正在工作。

I am trying to upload file to my google drive. I have searched and found the relevant code for uploading file. I have tested it and it is working.

我想在我的Google表单中附上相同的代码。但是,当我编辑表单时代码运行,而不是在查看表单时。查看表单时是否可以运行Google应用脚本功能?如果是的话,怎么样?

I want to attach the same code in my google forms. But the code runs when I am editing the form instead of when form is being viewed. Is it possible to run the google app script function when form is viewed? If yes, how?

推荐答案

脚本只能用于创建表单或在提交活动表单后处理回复。它不能与现场表单交互。

Scripts can only be used to create a form or to process responses after the live form has been submitted. It can not interact with a live form.

这篇关于表单加载时运行google apps脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆