# Sekret Form 表單範本
---
## 請款單
``` JavaScript
{
title: "請款單",
completedHtml: "已收到您的請款申請,我們將盡快審理。",
pages: [
{
name: "請款單",
elements: [
{
type: "text",
name: "1. 名字",
title: "請款人姓名",
isRequired: true
},
{
type: "radiogroup",
name: "2. 任職單位",
title: "任職單位",
isRequired: true,
choices: [
{
value: "item1",
text: "A部門"
},
{
value: "item2",
text: "B部門"
},
{
value: "item3",
text: "C部門"
},
{
value: "item4",
text: "D部門"
},
{
value: "item5",
text: "E部門"
},
{
value: "item6",
text: "F部門"
}
],
colCount: 3
},
{
type: "paneldynamic",
name: "3. 請款項目",
title: "請款項目",
description: "請點選「Add new」以新增一項請款項目。",
isRequired: true,
templateElements: [
{
type: "radiogroup",
name: "3.3 請款類別",
title: "1. 請款類別",
isRequired: true,
hasOther: true,
choices: [
{
value: "item1",
text: "餐費"
},
{
value: "item2",
text: "交通費"
},
{
value: "item3",
text: "硬體設備支出"
},
{
value: "item4",
text: "軟體設備支出"
}
],
otherText: "其他",
colCount: 3
},
{
type: "multipletext",
name: "3.1 支出資訊",
title: "2. 支出資訊",
isRequired: true,
titleLocation: "top",
items: [
{
name: "text1",
inputType: "date",
title: "支出日期"
},
{
name: "text2",
placeHolder: "ex. 餐廳或飲料店名稱、軟體的公司名稱、硬體設備的商家名稱",
title: "店家"
},
{
name: "text3",
placeHolder: "ex. 購買品項的名稱、軟體名稱、硬體設備名稱",
title: "項目"
},
{
name: "text4",
inputType: "number",
title: "金額"
}
]
},
{
type: "text",
name: "3.2 目的",
title: "3. 支出目的",
isRequired: true,
placeHolder: "ex. 春酒、尾牙、文書處理軟體續訂閱、更換辦公室桌椅"
},
{
type: "file",
name: "3.4 發票",
title: "4. 如果可以的話,請附上發票照片",
maxSize: 0
}
]
},
{
type: "text",
name: "4. 請款日期",
title: "請款日期",
description: "請輸入今天的日期",
isRequired: true,
inputType: "date",
max: "2999-12-31"
}
]
}
],
showQuestionNumbers: "off"
}
```
---
## 會議室預約使用
```JavaScript
{
title: "會議室預約使用",
description: "2020年第___週",
completedHtml: "已收到您的會議室使用申請!",
pages: [
{
name: "page1",
elements: [
{
type: "radiogroup",
name: "1. 欲借用之會議室",
title: "欲借用之會議室",
isRequired: true,
choices: [
{
value: "item1",
text: "會議室A"
},
{
value: "item2",
text: "會議室B"
},
{
value: "item3",
text: "會議室C"
},
{
value: "item4",
text: "會議室D"
},
{
value: "item5",
text: "會議室E"
}
]
},
{
type: "dropdown",
name: "2. 欲借用日期",
title: "欲借用星期",
isRequired: true,
choices: [
{
value: "item1",
text: "星期一"
},
{
value: "item2",
text: "星期二"
},
{
value: "item3",
text: "星期三"
},
{
value: "item4",
text: "星期四"
},
{
value: "item5",
text: "星期五"
}
]
},
{
type: "matrix",
name: "3. 欲借用時間",
title: "欲借用時間",
isRequired: true,
columns: [
{
value: "Column 1",
text: "8:00-9:00"
},
{
value: "Column 2",
text: "9:00-10:00"
},
{
value: "Column 3",
text: "10:00-11:00"
},
{
value: "Column 4",
text: "11:00-12:00"
},
{
value: "Column 5",
text: "12:00-13:00"
},
{
value: "Column 6",
text: "13:00-14:00"
},
{
value: "Column 7",
text: "14:00-15:00"
},
{
value: "Column 8",
text: "15:00-16:00"
},
{
value: "Column 9",
text: "16:00-17:00"
},
{
value: "Column 10",
text: "17:00-18:00"
}
],
rows: [
{
value: "Row 1",
text: "選擇時間"
}
]
},
{
type: "text",
name: "4. 借用人姓名",
title: "借用人姓名",
isRequired: true
}
]
}
],
showQuestionNumbers: "off"
}
```
---
## 員工旅遊意願調查
```JavaScript
{
title: "員工旅遊意願調查",
description: "2021年春季3月~5月員工旅遊",
completedHtml: "謝謝您的填寫!",
pages: [
{
name: "page1",
elements: [
{
type: "matrix",
name: "旅遊長度",
isRequired: true,
columns: [
{
value: "Column 1",
text: "非常沒興趣"
},
{
value: "Column 2",
text: "沒興趣"
},
{
value: "Column 3",
text: "普通"
},
{
value: "Column 4",
text: "有興趣"
},
{
value: "Column 5",
text: "非常有興趣"
}
],
rows: [
{
value: "Row 1",
text: "一日來回"
},
{
value: "Row 2",
text: "二日遊"
},
{
value: "Row 3",
text: "三日遊"
},
{
value: "Row 4",
text: "四日遊"
},
{
value: "Row 5",
text: "五日遊"
}
]
},
{
type: "matrix",
name: "旅遊地點",
isRequired: true,
columns: [
{
value: "Column 1",
text: "非常沒興趣"
},
{
value: "Column 2",
text: "沒興趣"
},
{
value: "Column 3",
text: "普通"
},
{
value: "Column 4",
text: "有興趣"
},
{
value: "Column 5",
text: "非常有興趣"
}
],
rows: [
{
value: "Row 7",
text: "台中市"
},
{
value: "Row 11",
text: "台南市"
},
{
value: "Row 12",
text: "高雄市"
},
{
value: "Row 13",
text: "屏東縣"
},
{
value: "Row 14",
text: "台東縣"
},
{
value: "Row 15",
text: "花蓮縣"
},
{
value: "Row 16",
text: "宜蘭縣"
}
]
},
{
type: "paneldynamic",
name: "特別想去的景點",
title: "特別想去的景點",
description: "如果您有特別想去的景點,請點選「Add new」來提供資訊。",
templateElements: [
{
type: "dropdown",
name: "question2",
title: "1. 景點所在地區",
choices: [
{
value: "item2",
text: "台中市"
},
{
value: "item3",
text: "台南市"
},
{
value: "item4",
text: "高雄市"
},
{
value: "item5",
text: "屏東縣"
},
{
value: "item6",
text: "台東縣"
},
{
value: "item7",
text: "花蓮縣"
},
{
value: "item8",
text: "宜蘭縣"
}
]
},
{
type: "multipletext",
name: "question3",
title: "2. 景點資訊",
isRequired: true,
items: [
{
name: "text1",
title: "景點名稱"
},
{
name: "text2",
title: "相關連結"
}
]
}
]
}
]
}
],
showQuestionNumbers: "off"
}
```
---
## 春酒意願調查
```JavaScript
{
title: "春酒意願調查",
completedHtml: "謝謝您的填寫!",
pages: [
{
name: "page1",
elements: [
{
type: "boolean",
name: "1. 參加意願",
title: "請問您是否有意願參加今年的春酒?",
isRequired: true,
labelTrue: "Yes",
labelFalse: "No"
},
{
type: "radiogroup",
name: "2. 餐飲類別",
visibleIf: "{1. 參加意願} = true",
title: "請問您偏好的春酒餐飲類別為何?",
isRequired: true,
choices: [
{
value: "item1",
text: "中式餐點"
},
{
value: "item2",
text: "港式飲茶"
},
{
value: "item4",
text: "日式餐點"
},
{
value: "item5",
text: "韓式餐點"
},
{
value: "item6",
text: "泰式餐點"
},
{
value: "item7",
text: "印度菜"
},
{
value: "item8",
text: "美式餐點"
},
{
value: "item3",
text: "義式餐點"
}
],
colCount: 3
},
{
type: "expression",
name: "3. 感謝填寫",
visibleIf: "{1. 參加意願} = false",
title: "謝謝您的填寫!",
commentText: "Other (describe)"
}
]
}
],
showQuestionNumbers: "off",
completeText: "提交"
}
---
## 團購商品
{
title: "團購商品表單",
completedHtml: "已收到您的團購表單!",
pages: [
{
name: "page1",
elements: [
{
type: "text",
name: "1. 姓名",
title: "姓名",
isRequired: true
},
{
type: "paneldynamic",
name: "2. 商品及數量",
title: "商品及數量",
description: "請點選「Add new」來新增所欲訂購之商品及數量;若單一品項欲購買超過10個,可重複選擇該品項以累加為欲購買之數量。",
isRequired: true,
templateElements: [
{
type: "dropdown",
name: "2.1 品項",
choices: [
{
value: "100",
text: "品項A"
},
{
value: "300",
text: "品項B"
},
{
value: "500",
text: "品項C"
},
{
value: "700",
text: "品項D"
},
{
value: "900",
text: "品項E"
}
]
},
{
type: "dropdown",
name: "2.2 數量",
title: "2.2 數量",
choices: [
{
value: "1",
text: "1 個"
},
{
value: "2",
text: "2 個"
},
{
value: "3",
text: "3 個"
},
{
value: "4",
text: "4 個"
},
{
value: "5",
text: "5 個"
},
{
value: "6",
text: "6 個"
},
{
value: "7",
text: "7 個"
},
{
value: "8",
text: "8 個"
},
{
value: "9",
text: "9 個"
},
{
value: "10",
text: "10 個"
}
]
}
]
}
]
}
],
calculatedValues: [
{
name: "金額",
expression: "{2.1 品項}*{2.2 數量}"
}
],
completeText: "送出"
}
```
---
## 方案投票
```JavaScript
{
title: "方案投票",
completedHtml: "謝謝您,已收到您的投票!",
pages: [
{
name: "page1",
elements: [
{
type: "expression",
name: "方案一",
title: "方案一",
description: "這裡填的是方案一的敘述。這裡填的是方案一的敘述。這裡填的是方案一的敘述。這裡填的是方案一的敘述。這裡填的是方案一的敘述。這裡填的是方案一的敘述。這裡填的是方案一的敘述。這裡填的是方案一的敘述。這裡填的是方案一的敘述。這裡填的是方案一的敘述。這裡填的是方案一的敘述。這裡填的是方案一的敘述。這裡填的是方案一的敘述。這裡填的是方案一的敘述。這裡填的是方案一的敘述。這裡填的是方案一的敘述。",
commentText: "Other (describe)"
},
{
type: "expression",
name: "方案二",
title: "方案二",
description: "這裡填的是方案二的敘述。這裡填的是方案二的敘述。這裡填的是方案二的敘述。這裡填的是方案二的敘述。這裡填的是方案二的敘述。這裡填的是方案二的敘述。這裡填的是方案二的敘述。這裡填的是方案二的敘述。這裡填的是方案二的敘述。這裡填的是方案二的敘述。這裡填的是方案二的敘述。這裡填的是方案二的敘述。這裡填的是方案二的敘述。這裡填的是方案二的敘述。這裡填的是方案二的敘述。這裡填的是方案二的敘述。",
commentText: "Other (describe)"
},
{
type: "expression",
name: "方案三",
title: "方案三",
description: "這裡填的是方案三的敘述。這裡填的是方案三的敘述。這裡填的是方案三的敘述。這裡填的是方案三的敘述。這裡填的是方案三的敘述。這裡填的是方案三的敘述。這裡填的是方案三的敘述。這裡填的是方案三的敘述。這裡填的是方案三的敘述。這裡填的是方案三的敘述。這裡填的是方案三的敘述。這裡填的是方案三的敘述。這裡填的是方案三的敘述。這裡填的是方案三的敘述。這裡填的是方案三的敘述。這裡填的是方案三的敘述。",
commentText: "Other (describe)"
},
{
type: "radiogroup",
name: "意願投票",
title: "請選擇您支持的方案",
isRequired: true,
choices: [
{
value: "item1",
text: "方案一"
},
{
value: "item2",
text: "方案二"
},
{
value: "item3",
text: "方案三"
}
],
colCount: 3
}
]
}
],
showQuestionNumbers: "off"
}
```
---
## 議題投票
```JavaScript
{
completedHtml: "謝謝您的填寫!",
pages: [
{
name: "page1",
elements: [
{
type: "panel",
name: "1. 議題一",
elements: [
{
type: "rating",
name: "1.5 議題一支持程度",
title: "請問您對此議題的支持程度為何?",
isRequired: true,
rateMax: 7,
minRateDescription: "非常不支持",
maxRateDescription: "非常支持"
},
{
type: "comment",
name: "1.7 議題一想法",
title: "請簡單說明您的想法",
rows: 2
},
{
type: "panel",
name: "2. 議題二",
elements: [
{
type: "rating",
name: "2.5 議題二支持程度",
title: "請問您對此議題的支持程度為何?",
isRequired: true,
rateMax: 7,
minRateDescription: "非常不支持",
maxRateDescription: "非常支持"
},
{
type: "comment",
name: "2.7 議題二想法",
title: "請簡單說明您的想法",
rows: 2
},
{
type: "panel",
name: "3. 議題三",
elements: [
{
type: "rating",
name: "3.5 議題三支持程度",
title: "請問您對此議題的支持程度為何?",
rateMax: 7,
minRateDescription: "非常不支持",
maxRateDescription: "非常支持"
},
{
type: "comment",
name: "3.7 議題三想法",
title: "請簡單說明您的想法",
rows: 2
}
],
title: "議題三",
description: "針對議題三的說明文字。針對議題三的說明文字。針對議題三的說明文字。針對議題三的說明文字。針對議題三的說明文字。針對議題三的說明文字。針對議題三的說明文字。針對議題三的說明文字。針對議題三的說明文字。針對議題三的說明文字。針對議題三的說明文字。針對議題三的說明文字。針對議題三的說明文字。針對議題三的說明文字。針對議題三的說明文字。針對議題三的說明文字。針對議題三的說明文字。",
isRequired: true
}
],
title: "議題二",
description: "針對議題二的說明文字。針對議題二的說明文字。針對議題二的說明文字。針對議題二的說明文字。針對議題二的說明文字。針對議題二的說明文字。針對議題二的說明文字。針對議題二的說明文字。針對議題二的說明文字。針對議題二的說明文字。針對議題二的說明文字。針對議題二的說明文字。針對議題二的說明文字。針對議題二的說明文字。針對議題二的說明文字。針對議題二的說明文字。針對議題二的說明文字。"
}
],
title: "議題一",
description: "針對議題一的說明文字。針對議題一的說明文字。針對議題一的說明文字。針對議題一的說明文字。針對議題一的說明文字。針對議題一的說明文字。針對議題一的說明文字。針對議題一的說明文字。針對議題一的說明文字。針對議題一的說明文字。針對議題一的說明文字。針對議題一的說明文字。針對議題一的說明文字。針對議題一的說明文字。針對議題一的說明文字。針對議題一的說明文字。針對議題一的說明文字。"
}
]
}
],
showQuestionNumbers: "off"
}
```
---
## 內部選舉提名_自由登記
```JavaScript
{
title: "內部選舉提名_自由登記",
completedHtml: "謝謝您的登記參選!",
pages: [
{
name: "page1",
elements: [
{
type: "text",
name: "1. 名字",
title: "請輸入您的名字"
},
{
type: "file",
name: "2. 會員證照片",
title: "請上傳您的會員證照片",
maxSize: 0
},
{
type: "file",
name: "3. 照片",
title: "請上傳一張您的正面證件照片",
maxSize: 0
}
]
}
],
showQuestionNumbers: "off"
}
```
---
## 內部選舉投票
```JavaScript
{
title: "內部選舉投票",
completedHtml: "已收到您的投票!",
pages: [
{
name: "page1",
elements: [
{
type: "radiogroup",
name: "question1",
title: "請圈選您心目中的當選人",
isRequired: true,
choices: [
{
value: "王大明",
text: "王大明"
},
{
value: "李小翔",
text: "李小翔"
},
{
value: "季中平",
text: "季中平"
},
{
value: "邱大班",
text: "邱大班"
},
{
value: "林小美",
text: "林小美"
},
{
value: "張中間",
text: "張中間"
}
],
choicesOrder: "random",
colCount: 3
}
]
}
],
showQuestionNumbers: "off"
}
```
---
## 特約商店滿意度
```JavaScript
{
title: "特約商店滿意度",
completedHtml: "謝謝您的填寫!",
pages: [
{
name: "page1",
elements: [
{
type: "matrix",
name: "question1",
title: "請問您對目前本單位的特約商店的情形各方面的滿意程度?",
columns: [
{
value: "1",
text: "非常不滿意"
},
{
value: "2",
text: "不滿意"
},
{
value: "3",
text: "普通"
},
{
value: "4",
text: "滿意"
},
{
value: "5",
text: "非常滿意"
}
],
rows: [
{
value: "特約商店數量",
text: "特約商店數量"
},
{
value: "特約商店多樣化",
text: "特約商店多樣化"
},
{
value: "特約商店地點",
text: "特約商店地點"
},
{
value: "優惠程度",
text: "優惠程度"
}
]
},
{
type: "comment",
name: "2. 簡短說明",
visibleIf: "{question1.優惠程度} = 1 or {question1.特約商店地點} = 1 or {question1.特約商店多樣化} = 1 or {question1.特約商店數量} = 1",
title: "請您簡短說明希望能夠改進的方向,謝謝您!",
description: "您的指教是我們進步的動力!",
rows: 2
}
]
}
],
showQuestionNumbers: "off"
}
```
---
## 公車滿意度調查
```JavaScript
{
title: "公車滿意度調查",
completedHtml: "謝謝您的填寫,您的指教是我們進步的動力!",
pages: [
{
name: "page1",
elements: [
{
type: "multipletext",
name: "1. 搭車資訊",
title: "搭車資訊",
description: "請盡可能描述您所搭公車之路線號、路段、車牌等等訊息,可以不全部填寫。",
items: [
{
name: "路線號碼",
title: "路線號碼"
},
{
name: "車牌號碼",
title: "車牌號碼"
},
{
name: "上車站牌",
title: "上車站牌"
},
{
name: "下車站牌",
title: "下車站牌"
},
{
name: "公車司機姓名",
title: "公車司機姓名"
},
{
name: "搭車日期及時間",
inputType: "datetime-local",
title: "搭車日期及時間"
}
]
},
{
type: "matrix",
name: "2. 候車滿意度",
title: "候車滿意度",
columns: [
{
value: "非常不滿意",
text: "非常不滿意"
},
{
value: "不滿意",
text: "不滿意"
},
{
value: "普通",
text: "普通"
},
{
value: "滿意",
text: "滿意"
},
{
value: "非常滿意",
text: "非常滿意"
}
],
rows: [
{
value: "站牌位置",
text: "站牌位置"
},
{
value: "站牌整潔程度",
text: "站牌整潔程度"
},
{
value: "站牌路線圖標示清楚程度",
text: "站牌路線圖標示清楚程度"
},
{
value: "等待時間",
text: "等待時間"
}
]
},
{
type: "matrix",
name: "3. 乘車滿意度",
title: "乘車滿意度",
columns: [
{
value: "非常不滿意",
text: "非常不滿意"
},
{
value: "不滿意",
text: "不滿意"
},
{
value: "普通",
text: "普通"
},
{
value: "滿意",
text: "滿意"
},
{
value: "非常滿意",
text: "非常滿意"
}
],
rows: [
{
value: "車輛外部整潔",
text: "車輛外部整潔"
},
{
value: "車輛內部整潔",
text: "車輛內部整潔"
},
{
value: "驗票機",
text: "驗票機"
},
{
value: "車內路線資訊",
text: "車內路線資訊"
},
{
value: "冷氣空調",
text: "冷氣空調"
},
{
value: "車內亮度",
text: "車內亮度"
},
{
value: "車內噪音",
text: "車內噪音"
}
]
},
{
type: "checkbox",
name: "4. 公車司機滿意度_優點",
title: "公車司機滿意度_優點",
description: "請勾選公車司機的服務做得好的地方:",
hasOther: true,
choices: [
{
value: "開車平穩",
text: "開車平穩"
},
{
value: "耐心等待上下車",
text: "耐心等待上下車"
},
{
value: "對老弱婦孺特別照顧",
text: "對老弱婦孺特別照顧"
},
{
value: "態度良好",
text: "態度良好"
},
{
value: "殘疾人士上下車時有優良服務",
text: "殘疾人士上下車時有優良服務"
},
{
value: "英勇解決車上紛爭",
text: "英勇解決車上紛爭"
}
],
otherText: "其他(請說明)",
colCount: 2
},
{
type: "checkbox",
name: "5. 公車司機滿意度_缺點",
title: "公車司機滿意度_缺點",
description: "請勾選公車司機的服務可以改進的地方:",
hasOther: true,
choices: [
{
value: "猛踩油門",
text: "猛踩油門"
},
{
value: "急剎車",
text: "急剎車"
},
{
value: "亂鳴喇叭",
text: "亂鳴喇叭"
},
{
value: "催促乘客上下車",
text: "催促乘客上下車"
},
{
value: "態度不佳",
text: "態度不佳"
},
{
value: "使用行動電話",
text: "使用行動電話"
},
{
value: "拒載老弱婦孺或殘疾人士",
text: "拒載老弱婦孺或殘疾人士"
},
{
value: "服儀不整",
text: "服儀不整"
},
{
value: "未繫安全帶",
text: "未繫安全帶"
},
{
value: "吸菸",
text: "吸菸"
},
{
value: "嚼檳榔",
text: "嚼檳榔"
}
],
otherText: "其他(請說明)",
colCount: 3
},
{
type: "boolean",
name: "6. 留下個人資料",
title: "請問您是否願意留下個人資料以便日後聯繫詢問改善情況?",
labelTrue: "是",
labelFalse: "否"
},
{
type: "multipletext",
name: "7. 個人資料",
visibleIf: "{6. 留下個人資料} = true",
title: "謝謝您,請輸入您的個人聯繫資料:",
description: "手機號碼與電子信箱可擇一填寫。",
items: [
{
name: "姓名",
title: "姓名"
},
{
name: "性別",
title: "性別"
},
{
name: "手機號碼",
title: "手機號碼"
},
{
name: "電子信箱",
title: "電子信箱"
}
]
}
]
}
],
showQuestionNumbers: "off"
}
```
---