Contact Form 7
Conditional Redirects (1 post)

  1. lwyndham
    Posted 2 years ago #

    I would like to redirect users who submit a form with a particular option chosen (in this case a checkbox) to a page on my site. All other form submissions without the option will display the usual successful submission message.

    I can get a general redirection for all submissions to work using: on_sent_ok: "location = 'http://example.com/';"

    I have already searched and found this solution for older version, but CF7 code has been updated since.

    Any suggestions please?


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic