如何将简单的计算字段添加到Google表单? [英] How to add a simple calculated field to a google form?

查看:39
本文介绍了如何将简单的计算字段添加到Google表单?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一种以google形式添加简单计算字段的方法,该方法将取决于其他字段的值.

I'm looking for a way to add simple calculated field in a google form that will be dependent on other field's values.

第一个字段是简单的价格字段 quantity * price = total_price ,其中,数量是用户输入的数字字段.

The first field is a simple price field quantity * price = total_price where quantity is a numeric field entered by the user.

第二个字段是结束日期 now()+ X个月,其中用户选择了X.

The second field is an end date now() + X months where X is selected by the user.

我看过Google的教程,仅发现据我所知是形式宽的插件,在这里我正在寻找更像自定义表单字段的东西.

I'v taken a look at google's tutorials and found only addons which in my understanding are form wide where i'm looking for something more like a custom form field.

最好的解决方案是在用户更改另一个输入的值时计算字段,但是确认页面上的简单文本也可以.

The best solution would be one that would calculate the fields as the user change the other input's value but a simple text in the confirmation page is also OK.

如果有人能指出正确的方向,我将不胜感激.谢谢.

I would appreciate if anyone could point me in the right direction. Thanks.

推荐答案

仅脚本可以影响表单的创建和提交后的处理.您无法对用户当前正在查看的实时"表单进行任何更改.您可以做的是在提交带有计算得出的总结的表单后,向用户发送电子邮件.如果他们看到任何错误,则可以包括指向getEditResponseUrl()的链接.

Scripting only can affect the creation and post-submit processing of a form. You cannot make any changes to the "live" form the user is currently looking at. What you can do is send an email to the user after the form has been submitted with a calculated summery. You could include a link to the getEditResponseUrl() if they see any errors.

这篇关于如何将简单的计算字段添加到Google表单?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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