如何使用Google表单创建网站联系表单

如何使用Google表单创建网站联系表单

Google Forms is a powerful tool used to create free surveys and quizzes online. However, that’s not all it does. With this guide, you can create a contact form which can be embedded directly into your website.

Google表单是一个功能强大的工具,可用于在线创建免费调查和测验。 但是,这还不是全部。 借助本指南,您可以创建联系表单,该联系表单可以直接嵌入您的网站中。

Creating a contact form on Google Forms is super simple. Google even has a template already made for you to use, which makes your job that much easier. All you need to do is load the template—customize it if you want—then embed the form directly into your website. That’s all there is to it. Let’s get started.

在Google表单上创建联系表单非常简单。 Google甚至已经提供了一个模板供您使用,这使您的工作变得容易得多。 您需要做的就是加载模板(根据需要对其进行自定义),然后将表单直接嵌入到您的网站中。 这里的所有都是它的。 让我们开始吧。

创建联系表 (Creating a Contact Form)

To get started, head over to the Google Forms homepage and place the cursor on the multicolored plus sign (+) in the bottom-right corner.

首先,请转到Google表单首页,然后将光标放在右下角的彩色加号(+)上。

如何使用Google表单创建网站联系表单

The plus sign becomes a purple pencil and purple page icon. Click the purple page icon.

加号变为紫色铅笔和紫色页面图标。 单击紫色页面图标。

如何使用Google表单创建网站联系表单

Once the window opens, choose the template “Contact information.”

窗口打开后,选择模板“联系信息”。

如何使用Google表单创建网站联系表单

自定义联系表格 (Customizing the Contact Form)

The default template has entries for a name, email, address, phone number, and comments. If there is anything else you want to add to the form, click the plus sign (+) for additional fields or questions.

默认模板具有名称,电子邮件,地址,电话号码和注释的条目。 如果还有其他要添加到表单的内容,请单击加号(+)以获得其他字段或问题。

如何使用Google表单创建网站联系表单

By default, name, email, and address are required to submit the form. To enable/disable whether a section is mandatory or not, click the desired field, then turn on or off the “Required” toggle.

默认情况下,姓名,电子邮件和地址是提交表格所必需的。 要启用/禁用某节是否为必填项,请单击所需字段,然后打开或关闭“必填”开关。

如何使用Google表单创建网站联系表单

To change the theme of your form, click the palette at the top of the page to select a header image, main and primary colors, and font. Choose colors from here that match your website’s theme as they will show up when you embed the form on your site.

要更改表单的主题,请单击页面顶部的调色板以选择标题图像,主要和原色以及字体。 从此处选择与您的网站主题匹配的颜色,因为当您将表单嵌入网站时,它们会显示出来。

如何使用Google表单创建网站联系表单
()

Finally, click the Settings cog to change the form’s behavior when respondents fill it out

最后,单击“设置”齿轮,以在受访者填写表单时更改其行为

如何使用Google表单创建网站联系表单

The first tab has a few settings you can enable. From here, you can collect email addresses, send a copy of their responses via email, and limit each person to one submission. You can also choose whether respondents can edit their answers after they’re submitted or see a summary chart at the end of the survey.

第一个选项卡具有一些可以启用的设置。 在这里,您可以收集电子邮件地址,通过电子邮件发送其回复的副本,并将每个人限制为一次提交。 您还可以选择受访者在提交答案后可以编辑其答案,还是在调查结束时查看摘要表。

如何使用Google表单创建网站联系表单

Note: If you enable “Limit to 1 response,” the respondent must log in with their Google account to access your form. Anyone without a Google account won’t be able to submit answers to your forms. Unless you’re positive everyone has a Google account, leave this option disabled.

注意:如果您启用“限制为1条回复”,则受访者必须使用其Google帐户登录才能访问您的表单。 没有Google帐户的任何人将无法提交表单的答案。 除非您确定每个人都有一个Google帐户,否则请禁用此选项。

The “Presentation” tab has a few settings here, but the only one we care about is the confirmation message that respondents see after they submit the form. This message will be displayed for people to see after they submit the contact form.

“演示文稿”选项卡在此处具有一些设置,但我们唯一关心的是受访者提交表单后看到的确认消息。 提交联系人表格后,将显示此消息供人们查看。

如何使用Google表单创建网站联系表单

After you finish, hit “Save” to confirm any changes and return to your form.

完成后,点击“保存”以确认所有更改并返回到表单。

嵌入联系表格 (Embedding the Contact Form)

After you’ve got everything on the contact form perfect, click the “Send” button at the top of the page.

在联系表单上完成所有操作后,请单击页面顶部的“发送”按钮。

如何使用Google表单创建网站联系表单

Click the angle brackets (< >) tab, and then click “Copy” to copy the embed HTML to the clipboard.

单击尖括号(<>)选项卡,然后单击“复制”将嵌入HTML复制到剪贴板。

如何使用Google表单创建网站联系表单

If you need to change the dimensions of the form and how it appears on your website, alter the width and height underneath the HTML code before you click “Copy.”

如果您需要更改表单的尺寸以及表单在网站上的显示方式,请在HTML代码下方更改宽度和高度,然后再单击“复制”。

如何使用Google表单创建网站联系表单

Now, all you have to do is paste the code into the HTML editor of a WordPress page or directly into your website’s .html file where you want the form to appear.

现在,您所要做的就是将代码粘贴到WordPress页面HTML编辑器中,或直接粘贴到您希望表单出现的网站的.html文件中。

If the size doesn’t look right the first go around, don’t fret. Just come back and fiddle with the width and height numbers, and re-copy the code until everything is looking perfect on your site.

如果尺寸不合适,请先不要担心。 只需回过头来敲打宽度和高度数字,然后重新复制代码,直到您的站点上一切看起来都完美为止。

在Google表格中收集回复 (Collecting Responses in Google Sheets)

One of the best features in Google Forms is all responses gathered can be sent directly into a Google Sheets spreadsheet. From here, you can use Sheet’s formulas and charts, view responses in real-time, and install add-ons to analyze, filter, and manipulate the data even further.

Google表单的最佳功能之一是,所有收集到的回复都可以直接发送到Google表格电子表格中。 在这里,您可以使用Sheet的公式和图表,实时查看响应以及安装附加组件来进一步分析,过滤和处理数据。

To set up a spreadsheet for responses, select the “Responses” tab, and then click the green Sheets icon.

要设置用于响应的电子表格,请选择“响应”选项卡,然后单击绿色的表格图标。

如何使用Google表单创建网站联系表单

Next, click “Create” to generate a new spreadsheet to store all your answers.

接下来,单击“创建”以生成一个新的电子表格以存储所有答案。

如何使用Google表单创建网站联系表单

Alternatively, if you already have a spreadsheet you want the responses to go into, click “Select existing spreadsheet” and follow the prompts. The spreadsheet is saved to your Drive and is available through the Sheets homepage as well.

或者,如果您已经想要一个电子表格,请单击“选择现有电子表格”,然后按照提示进行操作。 电子表格已保存到您的云端硬盘,并且也可以通过表格首页访问。



That’s it. Each spreadsheet contains all responses, along with a timestamp of when the survey was completed, making it easy to get in contact with your clients.

而已。 每个电子表格均包含所有回复以及调查完成的时间戳,从而可以轻松与客户联系。

翻译自: https://www.howtogeek.com/435673/how-to-create-a-website-contact-form-with-google-forms/