最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Contact form 7 refreshes page after pressing submit button and does not send anything

programmeradmin3浏览0评论

I have used CF7 plugin for other projects and it worked just fine, but now I can't understand, why it just refreshes the page after hitting submit, even validation does not work.

Email works, if I send an email from other email to it.

The Form field looks like this:

<div class="row">
  <div class="form-group col-md-6">
    <label for="formGroupExampleInput">Your Name</label>
    [text* your-name class:form-control]
  </div>
  <div class="form-group col-md-6">
    <label for="formGroupExampleInput">Your Email</label>
    [email* your-email class:form-control]
  </div>
  <div class="form-group col-md-6">
    <label for="formGroupExampleInput">I want</label>
      [select* services-dropdown-menu class:form-control "Please Select" "Interior" "Houses" "Consulting"]
      </div>
  <div class="form-group col-md-6">
    <label for="formGroupExampleInput">Subject</label>
    [text* your-subject class:form-control]
    </div>
  <div class="form-group col-md-12">
    <label for="formGroupExampleInput">Your Message</label>
    [textarea* your-message x4 class:form-control]
    </div>
    </div>
  [submit class:btn class:btn-light class:btn-lg class:btn-submit "Submit"]

and Mail tab like this:

To: [email protected]

From: [your-name]

Subject: "[your-subject]"

Additional Headers:

Reply-To: [your-email]

Message body: From: [your-name] <[your-email]>

Interested In: [services-dropdown-menu]

Subject: [your-subject]

Message Body: [your-message]

--

This e-mail was sent from a contact form on [email protected]

Can anyone please help me on this?

发布评论

评论列表(0)

  1. 暂无评论