質問編集履歴

1

追記しました

2019/06/13 01:58

投稿

ayane-holly
ayane-holly

スコア9

test CHANGED
File without changes
test CHANGED
@@ -37,3 +37,75 @@
37
37
 
38
38
 
39
39
  必須項目のまま、複数選択が出来るようにするにはどうすればいいでしょうか?
40
+
41
+
42
+
43
+ 追記です。下記の通りにしたら全選択しないと動かなくなりました。
44
+
45
+ ```ここに言語を入力
46
+
47
+ <label for="otoiawase-04">質問(複数回答可※必須)</label><span class="br"></span>
48
+
49
+ <input name="entry.10738689437_sentinel" id="Obstacle" type="checkbox" placeholder="回答1 *" value="回答1" >
50
+
51
+ <label class="help-block text-warning form-inner">回答1</label>
52
+
53
+ <input name="entry.1073868943" id="Obstacle" type="checkbox" placeholder="回答2 *" value="回答2" required>
54
+
55
+ <label class="help-block text-warning form-inner">回答2</label>
56
+
57
+ <span class="br-回答2"></span><span class="br-3"></span>
58
+
59
+ <input name="entry.1073868943" id="Obstacle" type="checkbox" placeholder="回答3 *" value="回答3" required>
60
+
61
+ <label class="help-block text-warning form-inner">回答3</label>
62
+
63
+ <input name="entry.1073868943" id="Obstacle" type="checkbox" placeholder="回答4 *" value="回答4" required>
64
+
65
+ <label class="help-block text-warning form-inner">回答4</label><span class="br-3"></span>
66
+
67
+ <input name="entry.1073868943" id="Obstacle" type="checkbox" placeholder="回答5 *" value="回答5" required>
68
+
69
+ <label class="help-block text-warning form-inner">回答5</label><span class="br-1"></span>
70
+
71
+ <input name="entry.1073868943" id="Obstacle" type="checkbox" placeholder="回答6 *" value="回答6" required>
72
+
73
+ <label class="help-block text-warning form-inner">回答6</label>
74
+
75
+ ```
76
+
77
+
78
+
79
+ IDを変えても同じ動きをします。
80
+
81
+ ```ここに言語を入力
82
+
83
+ <label for="otoiawase-04">質問(複数回答可※必須)</label><span class="br"></span>
84
+
85
+ <input name="entry.10738689437_sentinel" id="Obstacle1" type="checkbox" placeholder="回答1 *" value="回答1" >
86
+
87
+ <label class="help-block text-warning form-inner">回答1</label>
88
+
89
+ <input name="entry.1073868943" id="Obstacle2" type="checkbox" placeholder="回答2 *" value="回答2">
90
+
91
+ <label class="help-block text-warning form-inner">回答2</label>
92
+
93
+ <span class="br-回答2"></span><span class="br-3"></span>
94
+
95
+ <input name="entry.1073868943" id="Obstacle3" type="checkbox" placeholder="回答3 *" value="回答3">
96
+
97
+ <label class="help-block text-warning form-inner">回答3</label>
98
+
99
+ <input name="entry.1073868943" id="Obstacle4" type="checkbox" placeholder="回答4 *" value="回答4">
100
+
101
+ <label class="help-block text-warning form-inner">回答4</label><span class="br-3"></span>
102
+
103
+ <input name="entry.1073868943" id="Obstacle5" type="checkbox" placeholder="回答5 *" value="回答5">
104
+
105
+ <label class="help-block text-warning form-inner">回答5</label><span class="br-1"></span>
106
+
107
+ <input name="entry.1073868943" id="Obstacle6" type="checkbox" placeholder="回答6 *" value="回答6">
108
+
109
+ <label class="help-block text-warning form-inner">回答6</label>
110
+
111
+ ```