Skip to main content
Level 2
3월 8, 2024 3:45 오전 UTC
해결됨

Pass the value of a form field to display on Wordpress Thank you page redirect

Hi all,

I've created a guided landing page and have set to redirect to an external page after the form submission.

I'd like to pass the value of the FirstName field and then to render it on a Wordpress page with the message saying something like.


"Thank you, {FirstName} for getting in touch..."

Does anyone know if this is possible? I tried this tutorial here but it I couldn't get the value to append to the URL:

https://blog.teknkl.com/append-fields-to-thank-you-url/

 

Any help would be much appreciated! 

 

이 주제는 답변이 닫혔습니다.
SanfordWhiteman
User Group Leader
3월 8, 2024 5:55 오전 UTC

Nothing wrong with the code in that post, it’s well tested.

 

What’s the URL of the page you tried this on?

6 답변

SanfordWhiteman
User Group Leader
User Group Leader
3월 8, 2024 5:55 오전 UTC

Nothing wrong with the code in that post, it’s well tested.

 

What’s the URL of the page you tried this on?

번역
jehuty15작성자
Level 2
3월 13, 2024 1:34 오전 UTC

Hi @sanfordwhiteman Thank for your reply!

 

The code is good so I know my implementation/setup is causing the issue. 😅

 

This is my landing page here: https://you.oxfam.org.au/Test-first-name-variable.html
and for testing I've set up a redirect to https://www.oxfam.org.au/marketo-thank-you/ 

 

Your solution makes perfect sense but for the life of me I can't figure out what i'm missing to pass the values to the URL parameter. 

Sorry, i'm a bit of a newb with these marketo dynamic stuff.

 

Any help would be much appreciated 😃

번역
SanfordWhiteman
User Group Leader
User Group Leader
3월 14, 2024 8:03 오전 UTC
Put the script just before the closing </body> tag. Right now you have it in the wrong place as it's trying to run before MktoForms2 is available, and erroring out as a result.
번역