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?