-
Notifications
You must be signed in to change notification settings - Fork 52
/
survey.ts
95 lines (95 loc) · 2.71 KB
/
survey.ts
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
export const json = {
"title": "Product Feedback Survey",
"showProgressBar": "top",
"pages": [{
"elements": [{
"type": "matrix",
"name": "Quality",
"title": "Please indicate if you agree or disagree with the following statements",
"columns": [{
"value": 1,
"text": "Strongly disagree"
}, {
"value": 2,
"text": "Disagree"
}, {
"value": 3,
"text": "Neutral"
}, {
"value": 4,
"text": "Agree"
}, {
"value": 5,
"text": "Strongly agree"
}],
"rows": [{
"value": "affordable",
"text": "Product is affordable"
}, {
"value": "does what it claims",
"text": "Product does what it claims"
}, {
"value": "better then others",
"text": "Product is better than other products on the market"
}, {
"value": "easy to use",
"text": "Product is easy to use"
}]
}, {
"type": "rating",
"name": "satisfaction",
"title": "How satisfied are you with the product?",
"mininumRateDescription": "Not satisfied",
"maximumRateDescription": "Completely satisfied"
}, {
"type": "rating",
"name": "recommend friends",
"visibleIf": "{satisfaction} > 3",
"title": "How likely are you to recommend the product to a friend or colleague?",
"mininumRateDescription": "Won't recommend",
"maximumRateDescription": "Will recommend"
}, {
"type": "comment",
"name": "suggestions",
"title": "What would make you more satisfied with the product?"
}]
}, {
"elements": [{
"type": "radiogroup",
"name": "price to competitors",
"title": "Compared to our competitors, do you feel the product is",
"choices": [
"Less expensive",
"Priced about the same",
"More expensive",
"Not sure"
]
}, {
"type": "radiogroup",
"name": "price",
"title": "Do you feel our current price is merited by our product?",
"choices": [
"correct|Yes, the price is about right",
"low|No, the price is too low",
"high|No, the price is too high"
]
}, {
"type": "multipletext",
"name": "pricelimit",
"title": "What is the... ",
"items": [{
"name": "mostamount",
"title": "Most amount you would pay for a product like ours"
}, {
"name": "leastamount",
"title": "The least amount you would feel comfortable paying"
}]
}]
}, {
"elements": [{
"type": "text",
"name": "email",
"title": "Thank you for taking our survey. Please enter your email address and press the \"Submit\" button."
}]
}]
};