I have a Pardot form where the person enters an Account# (field is populated already in Pardot). They hit submit, and I'd like the Thank You text in Pardot to display another field of their's based on their Account#. It seems like you can do it with a little JavaScript but haven't found an example close to my use case yet.
I thought I could just reference the field, but that doesn't work.
Thank you for submitting, your Gold ID is: %%gold_ID_#%%
.
This works if I use a field in the form, but this is not in the form.