Home › Forums › General Issues › Pass submission post data on submit › Reply To: Pass submission post data on submit
The page you are redirected to will never contain _POST values. A form submission causes 2 server requests, the first to process the form, this includes the _POST values and the second to get the page you are redirecting to.
It may contain $_GET['thank-you']
but you may need to give your query parameter a value… I’m not sure
'return' => get_the_permalink(get_the_ID()).'?thank-you=1',
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.