learning-limesurvey/source/03-03-01-number.rst

54 lines
1.6 KiB
ReStructuredText
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

第四個問題:數值
################
接下來我們要問參與者每天上網多久。
:index:`數值 <題型; 數值>` 是另一種常見的題型,用在
:index:`連續變數 <變數; 連續>` 上。
上網時間最少0小時沒上網最多扣掉睡覺時間只會有十幾個小時。
為方便起見我們當作最多24小時。
我們也可以用024共25個選項的單選欄位。不過有人會有3.5、2.25小時等等非
整數,所以我們還是使用數值欄位。
在新增問卷問題的編輯頁面上,問題填上
「4.請問您每天上網幾個小時?」題型選擇「其他類型問題」裏的
「數值輸入」,題組選「貳、使用調查」,開啟「必填」。
.. figure:: images/03-03-01-number-01.png
:alt: 問題四:數值題目
:scale: 48%
問題四:數值題目
.. figure:: images/03-03-01-number-02.png
:alt: 選擇數值題型
:scale: 48%
選擇數值題型
往下拉找到「Input」展開。每天最多24小時最少0小時為免填錯可以限制
輸入值的範圍。請在Minimum value填上0Maximum value填上24。
因為可能會有3.5小時不開啟「Integer only」。
.. figure:: images/03-03-01-number-03.png
:alt: 展開「Input」設定
:scale: 48%
展開「Input」設定
.. figure:: images/03-03-01-number-04.png
:alt: 限制數值填答範圍
:scale: 48%
限制數值填答範圍
拉回網頁最上方,按右上角「儲存」。
.. figure:: images/03-03-01-number-05.png
:alt: 數值題目預覽
:scale: 48%
數值題目預覽