• Resolved patrickjimenez

    (@patrickjimenez)


    Hi guys,

    I’m using same the same form in multiple pages and I’d like to pass page URL via hidden field so that we can track where on our site people fill in the form.

    I tried to add this code in the “edit javascript” -part:

    document.getElementById(“hidden-element-id-from-the-form”).value=document.location.href;

    Unfortunately, this breaks the form and the submit button doesn’t work after this mod.

    Would you be able to help me out with this?

Viewing 1 replies (of 1 total)
  • Plugin Contributor Form Maker Support

    (@formmakersupport)

    Hi Patrick!

    Please try to move that code into before_load() function.
    If the problem persists, please contact our support team using this form (select “I have a pre-sales question” and the form will appear).

    Please, mention the URL of this forum topic in your message. We will provide a solution as soon as possible and share it here as well.

    Thanks. Have a nice day.

Viewing 1 replies (of 1 total)
  • The topic ‘hidden URL’ is closed to new replies.