Community forum for knowledge and support

Updated 6 months ago

Collecting Form Submission URLs with Formly

Does anyone know how to collect URLs of the page that a form was submitted from? (Using Formly)

H
E
M
7 comments

Hey! You can use some custom code to pass the current page’s URL into a form input field and that will get submitted with the form.

Thanks! Do you have an example?

Not at hand. Just ask GTP to write a code.

I added the code to the site settings and added the hidden input field on my form (the first field). Here's a read-only link and the result is attached

Would love to get this resolved today 🙏

Thank you Matt! I got it in the end 😊

Add a reply
Sign up and join the conversation on Slack