Dynamically fill form field based on CTA Popup

Hi All,

I have a wordpress site with a button on it. When that button is pressed I want to launch a Hubspot CTA Popup with a Hubspot form on it. I will launch the CTA popup with the code snippet.

Now depending on the page that button is pressed I would like to dynamically fill in a field on the form.

Is there away for me to dynamically fill in form fields that appears on a CTA popup that is triggered with a code snippet?

Hi @gms199,

Thanks for reaching out to the Community!

Let’s consult with some of our experts to see if they have any insights or if they have any workarounds they can share with you.

Hi @Anonymous, @HFisher7, @trevordjones - Do you have any suggestions for @gms199?

Thanks!

Diana

Hi @gms199 and thanks for the tag @DianaGomez ,

You might take a look at the solutions by @MatthewShepherd in this thread for a possible solution.

Thanks for the help. I figured out another way to accomplish what I needed. I created Static Lists and then used a worflow to add the people to the list bassed on the URL the form was sumbitted from.