Marketplace
Made in Webflow

URL or Page Title to form input

1423 views
site profile thumbnail

Description

A quick example of how to pass the current web address or page title to a hidden form field. If you look in the form block you'll see an embed with a coded inputs that have id's of 'url' and 'page-title'. There is some code in the before body code block in page settings that passes the URL and Page Title through. Hope this helps someone!
Feeling inspired?If this Made In Webflow site sparked some inspo, why not get started on a project of your own? Clone a site, purchase a template or start building from scratch.

We miss comments too!

Right now, Made in Webflow doesn't offer all of the same functionality that Showcase did, like the ability to leave comments. But don't worry: We're working to bring comments back as soon as possible!

As always, we'd love to hear your feedback! Click the link below to take a short survey about Made in Webflow.

custom codeformsurlinputform-input

More by Ben Parker

See profile
View details
Responsive Dashboard
460
1.6k