2017-04-18 70 views
1
電子郵件

我有以下形式的代碼:連接形式,通過聯繫表格7 WordPress的

<center> 

<label for=".elementor-6 .elementor-element.elementor-element-5m0lukt .wpcf7 input[type="text"]"><input type=text text* your-name placeholder="name" required id:name </input></label> 

<label for= ".wpcf7-form-control.wpcf7-text.wpcf7-tel.wpcf7-validates-as-required.wpcf7-validates-as-tel* your-email"> <input type="phone" tel* tel-196 input placeholder="phone" id:phone required</input></label> 


<textarea name="details" placeholder="your message" cols="40" rows="10" class="wpcf7-form-control wpcf7-textarea details" id="details" aria-invalid="false"></textarea> 

[submit "send"] 
</center> 

但我無法設置郵件標籤正確,以便將其連接到電子郵件,所以我只收到空白消息。表格填寫完成後我會收到通知,但我沒有看到來自該字段的任何詳細信息。我知道它是與郵件標籤,但我不知道如何相應地改變如下:

From: your-name <[your-email]> 
Subject: [your-subject] 

Message Body: 
[your-message] 

有什麼辦法讓它沒有太多的改變HTML代碼的工作,因爲我有設計我的表單的CSS代碼? 這裏的任何幫助是讚賞,因爲我完全失去,謝謝!

回答

1

下面的消息體,改變[您的消息]與[詳情]

+0

其他領域呢?姓名和電子郵件? – Rozi

+0

請檢查此頁面https://contactform7.com/setting-up-mail/ –

1

好了上面的人讓我嘗試一些東西,我只是增加了一個「textarea的名字=」到田間地頭的休息。我不知道這是否是最好的方式,但它不知何故讓我看到了我收到的消息。