【问题标题】:Adding to the shortcode redirection after submitting the form提交表单后添加到简码重定向
【发布时间】:2014-08-05 14:27:02
【问题描述】:

我使用插件,成功提交表单后是否可以添加短代码重定向?像这样:

[contact-form-7 id="117" title="test form" on_sent_ok="location='http://example.com/page/pa2j43452w2';"]

如果你不喜欢这样的修改呢? 请帮帮我。

【问题讨论】:

    标签: wordpress plugins shortcode contact-form-7


    【解决方案1】:

    我通常将:on_sent_ok: "location.replace('page-to-go-to');" 放在表单的附加设置字段中,而不是放在简码中。对我来说,这就像一个魅力。 这是来自联系表格 7 的帖子:http://contactform7.com/redirecting-to-another-url-after-submissions/

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-04-13
      • 1970-01-01
      • 2013-08-06
      • 2016-12-30
      相关资源
      最近更新 更多