Relume Community Icon
Relume Community
  • 馃彔Home
  • 馃搮Events

  • 馃數Announcements
  • 馃數General
  • 馃數Getting Started
  • 馃數Issues
  • 馃數Showcase

Powered by Tightknit
Issues
Issues

How to Collect URLs from Submitting Forms in Formly

Avatar of Emily M.Emily M.
路

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

7 comments

  • Avatar of Hunor N.
    Hunor N.
    路

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

  • Avatar of Emily M.
    Emily M.
    路

    Thanks! Do you have an example?

  • Avatar of Hunor N.
    Hunor N.
    路

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

  • Avatar of Emily M.
    Emily M.
    路

    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

  • Avatar of Emily M.
    Emily M.
    路

    Would love to get this resolved today 馃檹

  • Avatar of Matt J.
    Matt J.
    路

    Emily M. apologies I couldn't get this to you sooner but Finsweet has a hack for this here: https://finsweet.com/hacks-typescript/hacks/dynamically-submit-page-url-through-a-webflow-web-form-submission

    馃敟1
  • Avatar of Emily M.
    Emily M.
    路

    Thank you Matt! I got it in the end 馃槉