Support » Plugin: Advanced Forms » Simplest way to store URL of the page the form was embedden on

  • Resolved vonpiernik

    (@vonpiernik)


    I want to know from which of my pages the form has been submitted. Do you have any idea on how to do this in the simplest possible manner? I know I can create a text field, hide it, and fill with the url of the page on form submission, but maybe you know better solution? 🙂
    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author fabianlindfors

    (@fabianlindfors)

    Hi!

    You don’t even need to add a hidden text field. By default the form will submit to the same page it was created at. So you can use “af/form/submission” directly and get the current URL from inside and then do whatever you want with it. 🙂

    Thanks! 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.