久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

Google 表單:將數據發送到電子表格

Google Forms: Send data to spreadsheet(Google 表單:將數據發送到電子表格)
本文介紹了Google 表單:將數據發送到電子表格的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

如何將數據從網絡表單發送到 Google 電子表格?我使用 Google Drive 制作了一個表單,但要運行自定義 CSS,我需要復制表單標簽.

How can I send the data from a webform to a google spreadsheet? I made a form with Google Drive, but to get custom CSS running, I need to copy the form tag.

就我而言,這就是谷歌為發送按鈕行為生成的內容

In my case, that is what google generated for the send button behavior

<form action="https://docs.google.com/forms/d/113H_71nd98TWE0bByjHYNpnC-
 oVA6OBDWtppU30rBrU/formResponse" method="POST" id="ss-form" target="_self" onsubmit="">

但是,我想將我自己設計的表單中的數據發布到上述 Google 表單響應電子表格中.這是我的表單代碼(使用 Bootstrap 3):

However, I want to post data from my own designed form to the above Google Form Response spreadsheet. Here is my form code (using Bootstrap 3):

<form class="form-horizontal" role="form" id="ftk-contact">
<h4>Get in touch with us now</h4>
<div class="form-group">
<label for="inputType" class="col-lg-2 control-label">Type of Inquiry</label>
<div class="col-lg-10">
<select class="form-control" id="inputType">
<option>Request a Quotation</option>
<option>Request a Bluebook</option>
<option>General Inquiry</option>
</select>
</div>
</div>

<div class="form-group">
<label for="inputName" class="col-lg-2 control-label">Name *</label>
<div class="col-lg-10">
<input type="text" class="form-control" id="inputName" placeholder="Your Name">
</div>
</div>

<div class="form-group">
<label for="inputEmail" class="col-lg-2 control-label">Email *</label>
<div class="col-lg-10">
<input type="email" class="form-control" id="inputEmail" placeholder="Your Email">
</div>
</div>

<div class="form-group">
<label for="inputCompany" class="col-lg-2 control-label">Company</label>
<div class="col-lg-10">
<input type="text" class="form-control" id="inputCompany" placeholder="Your Company Name">
</div>
</div>

<div class="form-group">
<label for="message" class="col-lg-2 control-label">Message *</label>
<div class="col-lg-10">
<textarea class="form-control" rows="5" placeholder="Your Message"></textarea>
</div>
</div>

<div class="form-group">
<label for="inputPhone" class="col-lg-2 control-label">Phone</label>
<div class="col-lg-10">
<input type="tel" class="form-control" id="inputPhone" placeholder="Your Phone Number">
</div>
</div>

<div class="form-group">
<label for="inputWeb" class="col-lg-2 control-label">URL</label>
<div class="col-lg-10">
<input type="url" class="form-control" id="inputWeb" placeholder="Your Website URL">
</div>
</div>

<div class="form-group">
<div class="col-lg-offset-2 col-lg-10">
<button type="submit" class="btn btn-primary btn-lg">Send your Inquiry now</button>
</div>
</div>
</form>

當使用上述 Google 表單操作時=...按發送時,我會轉到原始 Google 表單,而不是將表單條目復制到電子表格中.

When using the above Google form action=... I am taken to the original Google Form when pressing send, instead of the form entries being copied to the spreadsheet.

如果上述方法不起作用,我還能如何將表單數據發送到電子郵件或 Google Drive?

If the above approach wont work, how else can I send the form data to email or Google Drive?

推薦答案

這對我有用:

  1. 創建您的自定義表單
  2. 點擊查看實時表單后創建您的 Google 表單并查看源代碼
  3. 復制從<form>開始的html代碼直到 </form>
  4. Google 表單中的每個輸入字段都有 name 和 id 屬性,需要將它們復制到您的個人表單中
  5. 在您的表單中使用 Google 表單的表單操作中的 URL.
  6. 確保即使是提交按鈕也具有與 Google 表單源匹配的 ID 和名稱屬性.
  7. 如果您現在提交,它會將您帶到 Google 表單響應頁面.您可以通過提交 ajax 表單來避免這種情況.

如果您的自定義表單未驗證 Google 表單必填元素,那么您將再次被重定向到 Google 表單頁面.

If your custom form does not validate a Google form mandatory element, then you will again be redirected to the Google form page.

這篇關于Google 表單:將數據發送到電子表格的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

How can I duplicate a div onclick event?(如何復制 div onclick 事件?)
opening html from google drive(從谷歌驅動器打開 html)
How to embed videos from Google drive to webpage?(如何將視頻從 Google 驅動器嵌入到網頁?)
How to view Google drive pdf link in iframe(如何在 iframe 中查看 Google Drive pdf 鏈接)
HTML2PDF using Google Drive API(使用 Google Drive API 的 HTML2PDF)
Uploading Multiple Files to Google Drive with Google App Script(使用 Google App 腳本將多個文件上傳到 Google Drive)
主站蜘蛛池模板: 日韩精品 电影一区 亚洲 | 精品国产乱码久久久久久88av | 亚洲精品一区二区另类图片 | 超碰97人人人人人蜜桃 | 国产高潮好爽受不了了夜色 | 亚洲精品在线看 | 日本韩国欧美在线观看 | 亚洲精品1 | 综合二区 | 国产伦一区二区三区 | 亚洲黄色在线免费观看 | 超碰97免费在线 | 精品在线免费观看视频 | 国产精品久久久久一区二区三区 | 国产在线一区二区三区 | 91色视频在线观看 | 欧美一区免费 | 国产免费一区二区 | 国产一区二区三区在线看 | 神马久久av | www.三级| 久久久国产一区 | 精品视频在线一区 | 日韩一区二区三区视频 | 伊人无码高清 | 日韩电影免费观看中文字幕 | 伊人伊人伊人 | 国产高清精品一区二区三区 | 国产探花在线精品一区二区 | 国产乱码精品一品二品 | 日本午夜在线视频 | 亚洲日韩视频 | 欧美日韩精品 | 国产精品国产三级国产aⅴ原创 | 亚洲天堂中文字幕 | 欧美日韩视频在线 | 7777在线视频 | 久久国产欧美日韩精品 | 国产精品夜夜夜一区二区三区尤 | 欧美韩一区二区三区 | 日韩免费一区二区 |