質問編集履歴

1

フォームの箇所のみを追記しました

2020/08/19 05:00

投稿

Diglett_050
Diglett_050

スコア15

test CHANGED
File without changes
test CHANGED
@@ -65,3 +65,31 @@
65
65
 
66
66
 
67
67
  wpcf7-form-control-wrap には position: relative; が記述されています
68
+
69
+
70
+
71
+
72
+
73
+ 以下にフォームの箇所のみを追記しましたがjsなどは不要でしょうか?
74
+
75
+
76
+
77
+ ```
78
+
79
+
80
+
81
+ <p><label>好きなお寿司のネタ<br />
82
+
83
+ <span class="wpcf7-form-control-wrap osushi"><span class="wpcf7-form-control wpcf7-checkbox"><span class="wpcf7-list-item first"><label><input type="checkbox" name="osushi[]" value="うに" /><span class="wpcf7-list-item-label">うに</span></label></span>
84
+
85
+ <span class="wpcf7-list-item"><label><input type="checkbox" name="osushi[]" value="いくら" /><span class="wpcf7-list-item-label">いくら</span></label></span>
86
+
87
+ <span class="wpcf7-list-item last has-free-text"><label><input type="checkbox" name="osushi[]" value="その他" /><span class="wpcf7-list-item-label">その他</span></label>
88
+
89
+ <input type="text" name="_wpcf7_checkbox_free_text_osushi" class="wpcf7-free-text" /></span></span></span></label>
90
+
91
+ </p>
92
+
93
+
94
+
95
+ ```