2016-05-31 34 views
0

我使用的联系表格7,Wordpress4.5.2上的联系表单7模块插件。 我的需要是我想捕获post_date(发布日期的日期)和submission_date(候选人提交表格的日期)WordPress的联系表7隐藏的日期字段不按预期工作

我试图实现以上两个需求使用下面的标签总是返回我 '空' 的产生email..some指针/空赞赏。提前

CF7 form 
[hidden today_date today] 

[hidden post_date id:post_date] 

<p>[submit "Send"]</p> 

on mail , below tags used.. 
1 [_post_date] 
2 [post_date] 
[_format_post_date "D, d M y"] 
3 [today_date] 
[_format_today_date "D, d M y"] 
4 [_today_date] 

result email.. 
1 [_post_date] 
2 

3 

4 [_today_date] 

感谢

回答

0
CF7 form tags 

[hidden post_date "post_date"] 

[date today_date _date] // this is not required 

<p>[submit "Send"]</p> 

Mail tags should be.. 
[_format_post_date "Y-m-d"] 
[_date] --> to get current date