I am using CF7 for a booking form which works fine, my problem is this: after a successful submission the page redirects to another page with a non CF7 form. I need the non CF7 form to pre-populate with POST variables from the previous page.
I guess this can be done by changing the redirect URL in the CF7 admin page to append chosen post variables, I can then use $_GET[‘myvariable’] to pre-populate my new form.
on_sent_ok: “location = http://example.com?name=myvariable&day=anothervariable‘;
Can anyone help me achieve this please?
- The topic ‘[Plugin: Contact Form 7] Append post variables to redirect URL’ is closed to new replies.