Get form page URL: Capture URL for each product

  • Alsalemjci
    Asked on March 28, 2018 at 2:56 PM

    Hi sir,


    I have an online store. Below is a URL. In iframe I show a jot for. what I need I need to capture a URL for each product there the jot form show when the by order button press.


    Below is a page URL. currently is taking the page URL. but I need to capture the product redirect URL.


    https://store.york.com.sa/en/product-category/high-wall/

  • aubreybourke
    Replied on March 28, 2018 at 4:21 PM

    I'm not sure if I understand correctly.


    Did you want a lightbox form to popup?

    How-to-Create-a-Lightbox-Form


    You can capture the current URL using the get form page URL widget:

    https://widgets.jotform.com/widget/get_form_page_url


    Or you could use JavaScript for this:

    https://www.w3schools.com/jsref/prop_doc_url.asp