简体   繁体   中英

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 .

Regards

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM