質問編集履歴

1

ソースコード追記

2017/04/12 06:02

投稿

ryousuke_
ryousuke_

スコア7

test CHANGED
File without changes
test CHANGED
@@ -45,3 +45,137 @@
45
45
  ご回答よろしくお願いいたします。
46
46
 
47
47
  (ちなみに当方プログラム関連に弱いWebデザイナーです。)
48
+
49
+
50
+
51
+ 【追記】
52
+
53
+ コメントありがとうございます。
54
+
55
+ ソースコードです。
56
+
57
+
58
+
59
+ 利用しているサービスはmautic。
60
+
61
+ idなども自動出力されますが、固有名詞が含まれていたため削除してます。
62
+
63
+
64
+
65
+ <!-- body内に設置 -->
66
+
67
+ <script type="text/javascript">
68
+
69
+ /** This section is only needed once per page if manually copying **/
70
+
71
+ if (typeof MauticSDKLoaded == 'undefined') {
72
+
73
+ var MauticSDKLoaded = true;
74
+
75
+ var head = document.getElementsByTagName('head')[0];
76
+
77
+ var script = document.createElement('script');
78
+
79
+ script.type = 'text/javascript';
80
+
81
+ script.src = '〜/mautic/media/js/mautic-form.js';
82
+
83
+ script.onload = function () {
84
+
85
+ MauticSDK.onLoad();
86
+
87
+ };
88
+
89
+ head.appendChild(script);
90
+
91
+ var MauticDomain = '〜';
92
+
93
+ var MauticLang = {
94
+
95
+ 'submittingMessage': ""
96
+
97
+ }
98
+
99
+ }
100
+
101
+ </script>
102
+
103
+
104
+
105
+
106
+
107
+ <div id="" class="mauticform_wrapper">
108
+
109
+ <form autocomplete="false" role="form" method="post" action="" id="" data-mautic-form="">
110
+
111
+ <div class="mauticform-error" id=""></div>
112
+
113
+ <div class="mauticform-message" id=""></div>
114
+
115
+ <div class="mauticform-innerform">
116
+
117
+
118
+
119
+ <div class="mauticform-page-wrapper mauticform-page-1" data-mautic-form-page="1">
120
+
121
+
122
+
123
+ <div id="" data-validate="" data-validation-type="text" class="mauticform-row mauticform-text mauticform-field-1 mauticform-required">
124
+
125
+ <label id="" for="" class="mauticform-label">お名前</label>
126
+
127
+ <input id="" name="mauticform[]" value="" class="mauticform-input" type="text" />
128
+
129
+ <span class="mauticform-errormsg" style="display: none;">これは必須です。</span>
130
+
131
+ </div>
132
+
133
+
134
+
135
+ <div id="" data-validate="" data-validation-type="email" class="mauticform-row mauticform-email mauticform-field-2 mauticform-required">
136
+
137
+ <label id="" for="" class="mauticform-label">メールアドレス</label>
138
+
139
+ <input id="" name="" value="" class="mauticform-input" type="email" />
140
+
141
+ <span class="mauticform-errormsg" style="display: none;">これは必須です。</span>
142
+
143
+ </div>
144
+
145
+
146
+
147
+ <div id="" data-validate="" data-validation-type="tel" class="mauticform-row mauticform-tel mauticform-field-3 mauticform-required">
148
+
149
+ <label id="" for="" class="mauticform-label">電話番号</label>
150
+
151
+ <input id="" name="mauticform[]" value="" class="mauticform-input" type="tel" />
152
+
153
+ <span class="mauticform-errormsg" style="display: none;">これは必須です。</span>
154
+
155
+ </div>
156
+
157
+
158
+
159
+ <div id="" class="mauticform-row mauticform-button-wrapper mauticform-field-7">
160
+
161
+ <button type="submit" name="mauticform[submit]" id="" name="mauticform[submit]" value="" class="mauticform-button btn btn-default" value="1">送信</button>
162
+
163
+ </div>
164
+
165
+
166
+
167
+ </div>
168
+
169
+ </div>
170
+
171
+
172
+
173
+ <input type="hidden" name="mauticform[formId]" id="" value="9" />
174
+
175
+ <input type="hidden" name="mauticform[return]" id="" value="" />
176
+
177
+ <input type="hidden" name="mauticform[formName]" id="" value="" />
178
+
179
+ </form>
180
+
181
+ </div>