[英]When I click the send button of my contact form nothing happens on blogger
Hi guys i have this form that if the user fills in the contact form on my blogger page it will be sent to my e-mail but when they click the send button nothing happens.大家好,我有这个表格,如果用户在我的博客页面上填写联系表格,它将被发送到我的电子邮件,但是当他们点击发送按钮时,什么也没有发生。
<form action='mailto:aaaa@yahoo.com' method='POST' name='contact-form'>
<div>
Name:
</div>
<input class='contact-form-name' id='ContactForm1_contact-form-name' name='name' size='30' type='text' value=''/>
<div>
Email:
</div>
<input class='contact-form-email' id='ContactForm1_contact-form-email' name='email' size='30' type='text' value=''/>
<div>
Contact Number:
</div>
<input class='contact-form-number' id='ContactForm1_contact-form-number' name='number' size='30' type='text' value=''/>
<div>
Item Details:
</div>
<textarea class='contact-form-email-message' id='ContactForm1_contact-form-email-message' name='email-message' rows='5'/>
<p/>
<input class='submit' id='ContactForm1_contact-form-submit' type='button' value='Send'/>
<div style='text-align: center; max-width: 450px; width: 100%'>
<p class='contact-form-error-message' id='ContactForm1_contact-form-error-message'/>
<p class='contact-form-success-message' id='ContactForm1_contact-form-success- message'/>
</div>
</form>
在您的按钮中将type='button'
更改为type='submit'
This is because you don't have contact form gadget in your sidebar.这是因为您的侧边栏中没有联系表单小工具。 You need to add & hide the contact form on the sidebar.
您需要在侧边栏上添加和隐藏联系表单。 After that a contact form added to a blog page will work.
之后,添加到博客页面的联系表单将起作用。 Learn how to create a contact us page for Blogger .
了解如何为 Blogger创建联系我们页面。
Regards问候
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.