联系表格7后为.asp [英] Contact form 7 post to .asp

查看:158
本文介绍了联系表格7后为.asp的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能联系表格7表单字段的形式内容发布到等待.asp页?我的表格有四个输入字段和一个隐藏字段。姓名,电话,电邮,HowFoundUs,请参阅。我要发布这些输入值以下.asp页:

Is it possible to post the form contents of Contact Form 7 form fields to an awaiting .asp page? My form has four input fields and one hidden field. Name, Telephone, Email, HowFoundUs, Refer. I want to post those input values to the following .asp page:

clientsite.com/default.asp?name=xxxxxx&telephone=xxxxxxxx&howfoundus=xxxxxx&email=xxxxx&refer=xxxxxxx

clientsite.com/default.asp?name=xxxxxx&telephone=xxxxxxxx&howfoundus=xxxxxx&email=xxxxx&refer=xxxxxxx

我一直在寻找通过插件文件,还没有发现任何东西。

I have been searching through the plugin files and have yet to find anything.

推荐答案

是的,你用这个的过滤钩子
wpcf7_form_action_url 。您可以添加钩子到你的主题的的functions.php ,然后只是在处理ASP页的表单数据。
另一种选择是使用JavaScript来改变在操作形式属性。

Yes, you have to change the "action" attribute in the form using this Filter Hook wpcf7_form_action_url. You could add the hook into your theme's functions.php and then just process the form data in your ASP page. Another option is to use Javascript to change the action attribute of the form.

我希望它能帮助。

这篇关于联系表格7后为.asp的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆