[英]how to display message box on clicking submit button in google form?
I have written a script in spreadsheet of a corresponding google form. 我已经在相应的Google表单的电子表格中编写了一个脚本。 I need to display a Message box displaying the value of "rand" as shown in the script code below in the picture.
我需要显示一个消息框,其中显示“ rand”的值,如下面图片中的脚本代码所示。
Can anyone help me with the code for displaying the required message box. 谁能帮助我提供显示所需消息框的代码。 Please go through the script which is written in the script editor of the spreadsheet(corresponding to the google form).
请仔细阅读在电子表格的脚本编辑器中编写的脚本(与Google表单相对应)。
Please go through the code and suggest any solution Sciptcode 请仔细检查代码并提出解决方案的建议
Unfortunately you can't interact with a google form from apps script . 不幸的是,您无法通过应用脚本与Google表单进行交互。 Your apps script is triggered on form submit and it does not give any feedback to the google form.
您的应用脚本会在表单提交时触发,并且不会向Google表单提供任何反馈。 If you want to give your user a confirmation message you should consider sending him an email from your triggered script.
如果要向用户发送确认消息,则应考虑从触发的脚本向他发送电子邮件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.