I want to submit a url while redirecting my contact form to a thank you page.I have set on_sent_ok: “location= ‘https://www.xxx.com/thank-you/’;”
and this is working fine.
apart from this I want to use some fields submitted in this form to submit to the url like this
What function can i add in functions.php to just use the fields submitted in the form and hit the url. The url is a just a script that doesn’t return anything.
- The topic ‘reload a URL’ is closed to new replies.