是否可以在Google表单提交中显示弹出窗口 [英] Is it possible to display popup on google form submit

查看:69
本文介绍了是否可以在Google表单提交中显示弹出窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道提交Google表单后是否可能显示对话框弹出窗口.在显示确认屏幕的屏幕之前,表明您的请求已被记录.

I want to know whether its possible to display a dialog box popup after submitting google forms. Just before the screen in which a confirmation screen is displayed that your request has been recorded.

我检查了此帖子,其中电子表格的onOpen事件用于显示弹出窗口.如何使用Google Apps打开网络浏览器脚本?.

I checked this post in which onOpen event of spreadsheets is used to display a popup. How do I open a web browser using google apps script?.

我可以执行电子表格的相同onFormSubmit事件吗?如果可能的话,该怎么办,因为我是google app脚本的新手.我的要求是将fileUpload与Google表单一起使用.用户提交表单后,将出现一个对话框,询问用户是否要上传文件.谢谢.

Can i do the same onFormSubmit event of spreadsheet. If it's possible than how to do this because I am new to google app script. My requirement is to use fileUpload with google forms. After user submits the forms a dialog should appear asking user if he/she wants to upload a file. Thanks.

推荐答案

不幸的是,您提交Google表单后无法显示弹出对话框.要显示弹出窗口,您必须打开电子表格.

Unfortunately you can't display a popup dialog box after submitting Google forms. To show a popup you must be with the spreadsheet opened.

如果您想通过弹出框自定义给用户的消息,则必须使用 HtmlService

If you want to customize the message to the user with a popup box you will have to built the form manually using HtmlService

这篇关于是否可以在Google表单提交中显示弹出窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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