• Resolved oreroy

    (@oreroy)


    Hello
    The same form i am using on multiple pages on my website.
    Is there any shortcode that I can place in the form that will let me know from which page the form was sent when the use click send.
    Thank you

Viewing 1 replies (of 1 total)
  • Hi,

    Please, navigate to Contact Form Maker > Forms.

    Add a new hidden input to your form, name it Sender_Url and save the changes.

    Afterwards, please go to Form Options > Javasctipt tab and add the code below.

    jQuery( document ).ready(function() {
     var getPageUrl = window.location.href;
     jQuery('input[name="Sender_Url"]').val(getPageUrl);
    }); 

    Thank you and have a nice day!

Viewing 1 replies (of 1 total)
  • The topic ‘Page the form was sent from’ is closed to new replies.