Streaming live at 10am (PST)

How can I pass URL parameters into hidden form field?

Hi there,

I’m wondering how I can pass URL parameters into hidden form fields. Let’s say that…

-I’ve created a form with an ID of ‘#form’.
-The form has a hidden field with an ID of ‘#hidden’ that I want to pre-populate with the value of utm_source.
-The URL is ‘website.com?utm_source=blue

Thanks in advance!

Hey John!

I’m actually building something for this exact problem at https://www.withscript.com

In additional to auto filling form elements via url parameters, you can also personalize any part of your page with those same url parameters… I’ve been using Script to level up my no-code mastery, it’s enabled me to create some pretty cool stuff, you should definitely go check it out!

Take care my friend,

Jacob