-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathquestion.js
111 lines (111 loc) · 2.15 KB
/
question.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
_id: "Q",
form: [{
q:"年齢",
required: true,
a: {
type: "number",
name: "age",
attr: {
min: 1,
max: 100
}
}
},{
q:"性別",
required: true,
a: {
type: "select",
name: "sex",
options:[
["1","男"],
["2","女"]
]
}
},{
q:"職業",
required: true,
a: {
type: "select",
name: "job",
options:[
["1","コンピュータエンジニア"],
["2","その他IT関連"],
["3","その他業種"],
["4","学生"],
["5","学生未満"]
]
}
},{
q:"MongoDBを知っていましたか?",
required: true,
a: {
type: "select",
name: "asYknow",
options:[
["y","はい"],
["n","いいえ"]
]
}
},{
q:"今までにMongoDBを利用した事がありますか?",
required: true,
a: {
type: "select",
name: "howLong",
options:[
["0","いいえ"],
["3","3ヶ月未満"],
["6","半年未満"],
["12","1年未満"],
["99","それ以上"]
]
}
},{
q:"何台程度で運用していますか?",
a: {
type: "select",
name: "howMany",
options:[
["1","1台"],
["3","3台以下"],
["10","10台以下"],
["30","30台以下"],
["99","それ以上:"]
]
}
},{
q:"今後利用しようと思いますか?",
a: {
type: "select",
name: "willUse",
options:[
["y","はい"],
["n","いいえ"]
]
}
},{
q:"どの様な用途で利用できそうだと思いますか?",
a: {
type: "checkbox",
name: "howToUse",
others:3,
options:[
["WEB最との表示データなど"],
["データ集計(Map/Reduce)"],
["携帯ゲームのデータを保存/集計"],
["検索システム"],
["地理データ"]
]
}
},{
q:"その他なにかありましたら",
a: {
type: "textarea",
name: "other",
attr: {
maxlength: 1000,
}
}
}]
}