• Resolved thankssforhelp

    (@thankssforhelp)


    Hello,

    I would be very glad if you can help with the following thing:

    I use two forms. In the second form, information from the first form is transferred using the pre-populate function, including personal information, PDF files, etc..

    However, the pre-populate information or parameters are all displayed in the URL, although some of them are hidden fields. However, this information should be sent to the e-mail address only after the form has been filled out and submitted.

    In short: Can I hide the parameters in the URL, so that one sees e.g. only my domain name, but not the pre-populate parameters?

    Thank you very much!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Zafer – WPMU DEV Support

    (@wpmudevsupport15)

    Hi @thankssforhelp,

    I hope you are doing well today!

    This issue has been flagged to our SLS (Second Line Support) Team so that they can dig into this further. We will post an update here as soon as more information is available.

    Please keep in mind that our SLS Team deals with more complicated issues, so it may take a little longer for us to reply here.

    Thank you for your patience while we look into this further.

    Kind regards,
    Zafer

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @thankssforhelp ,

    You can use the following code snippet as an example to remove the parameters from the URL:

    <script>
    // Get the current URL without the parameters
    var url = window.location.href.split('?')[0];
    
    // Replace the current URL with the new URL
    window.history.replaceState({}, document.title, url);
    </script>

    This code can be added as a custom HTML beside the second form2 page/post.

    kind regards,
    Kasia

    Thread Starter thankssforhelp

    (@thankssforhelp)

    Hi Kasia @wpmudev-support2,

    thank you very much, it works fantastic! Great support!

    Kind regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hide pre-populate parameter in URL’ is closed to new replies.