Google form: Difference between revisions

From LemonWiki共筆
Jump to navigation Jump to search
Line 14: Line 14:
solution
solution
* [http://jqueryvalidation.org/ jQuery Validation Plugin - Form validation with jQuery] license: MIT {{access | date = 2015-11-02}}
* [http://jqueryvalidation.org/ jQuery Validation Plugin - Form validation with jQuery] license: MIT {{access | date = 2015-11-02}}
other web form issues
* auto save: to avoid the user close the browser accidentally.
* Warn user before leaving web page with unsaved changes
* pagination


[[Category:Google]] [[Category:Web_Dev]]
[[Category:Google]] [[Category:Web_Dev]]

Revision as of 10:57, 3 December 2015

紀錄版本號碼

如果 Google form 要有紀錄版本號碼的功能

  • 每份作答都會自動記錄,回傳表單的時間到「時間戳記」(timestamp)欄位
  • 手動將版本號寫在答案選項內,作答結果才會記錄填答者所選擇的 (帶有版本號的) 答案選項。
  • 無法 把版本號寫在問題文字內,作答結果並不會記錄這樣的變動,因為問卷視作這是同一個問題。

網站開發者

建立類似 Google form 的前端網頁功能

  1. 如果「必要問題」沒有填寫時,點選「提交」按鈕時,會出現 (1)「這是必填問題」錯誤訊息。 (2) 將要填寫的問題,用方框框起來。
    google_from_required_question.png
  2. 如果「必要問題」有填寫時,原本「這是必填問題」錯誤訊息會消失。
  3. 單選按鈕(radio button)的題目選項,如果使用者在「其他」選項的文字方框輸入文字時,會自動勾選「其他」。當輸入文字清除時,勾選「其他」的狀態會繼續維持。
    google_from_radio_button_other.png
  4. 資料庫欄位,增加「時間戳記」,紀錄使用者提交問卷結果的時間。

solution

other web form issues

  • auto save: to avoid the user close the browser accidentally.
  • Warn user before leaving web page with unsaved changes
  • pagination