• Resolved msegerer

    (@msegerer)


    Hi,
    I have set up a page with Elementor that includes a button to call a popup (with Popup Maker). In that popup I have included a form created with WPForms. Now I would like to use Dynamic Field Population already from the Elementor page. Basically I have a dropdown field in the form that should be filled with whatever link (URL string) I chose from the Elementor page.

    This works when not using Popup maker and looks as following: https://bienie-on-tour.eu/contact-copy/?wpf958_5=Coaching%20request

    However, I would like to avoid using a page for that and instead using a popup. Is that possible at all? Is there any chance with a CSS class (I am not very familiar with this)?

    Thank you
    Matthias

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Bel

    (@belimperial)

    Hello @msegerer

    Thank you for reaching out!

    As I understand, you want to pass variable or dynamic populate the field from the elementor page to popup. If yes, the currently available solution is custom coded JavaScript.

    You can’t use the pass through methods as they are processed when the form is rendered, but the form is rendered when the page loads initially, not when the popup is viewed.

    So to update them based on the clicked trigger you would use JavaScript, something like this usually does the trick:


    https://gist.github.com/danieliser/e853cf76d17d14893103696574c406b2

    The code is much the same with a few tweaks.

    Hope that helps. If your issue is resolved please take a moment to rate and review the plugin.
    If you still need help please message us directly at https://wppopupmaker.com/support/

    Thread Starter msegerer

    (@msegerer)

    Hello Bel,

    I really appreciate you taking the time. I am new to WordPress and I just cannot code. I would not know how to tweak that code. So, I created a page where the form is shown and use the “normal” dynamic population. It is not as smooth as with a popup but it does it’s job.

    Thank you

    Matthias

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘URL string to Popup Maker and WPForms’ is closed to new replies.