本文介绍了Google表单已提交的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何引用默认的提交表单按钮以将'onsubmit'触发器与其他操作链接起来?谢谢。



例如,使用onsubmit,

  Logger。日志('做某事'); 


解决方案

表单服务不允许对产品进行任何编程控制。有关问题跟踪器为这个一般主题。明星它投票,并接收更新。



然而,你并没有失去。在接收表单回复的电子表格中,您可以添加带有可安装触发器的脚本以激活表单提交。从那里开始,您可以对提交的数据做很多事情,包括按照您的意愿进行日志记录......但是没有任何内容。

//i.stack.imgur.com/QlYK4.pngalt =触发器>



这些引用解释了触发器和事件。






How does one reference the default 'Submit' Forms button to link the 'onsubmit' trigger with another action? Thank you.

For example, with onsubmit,

Logger.log('do something');
解决方案

One doesn't. The Form Service does not allow any programmatic control over the product. There is an open issue on the Issue Tracker for this general topic. Star it to "vote", and receive updates.

However, you're not lost. In the spreadsheet receiving your form responses, you can add a script with an Installable Trigger to fire "On form submit". From there, you can do many things to the submitted data, including Logging as you wish... but nothing to the Form itself.

These references explain triggers and events.

这篇关于Google表单已提交的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-04 03:44