Pass name, and e-mail address from one page to another (Multipage)

Home Forums Quform WordPress Pass name, and e-mail address from one page to another (Multipage)

This topic is: resolved
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #25834
    Bobert
    Participant

    I have a multipage form, It’s 4 pages.

    The name, and e-mail address are collected on the first page.

    I want them also displayed in the “name” and “e-mail” input fields on page 4.

    How do I do this?

    #25835
    GOMLP
    Participant

    I’m curious to learn how to do the same thing, but I want to pass my gathered field information into an HTML text field for personalization.

    #25888
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #25916
    Bobert
    Participant

    Works perfectly!

    One more question!

    I’m using this to use google maps to the form.

    However, I need to add it to TWO text fields. How would I go about doing this?

    add_action(‘wp_enqueue_scripts’, function () {
    $apiKey = ‘keyhere’;

    wp_enqueue_script(‘google-maps’, “https://maps.googleapis.com/maps/api/js?key={$apiKey}&libraries=places&callback=initAutocomplete”, array(), false, true);

    ob_start();
    ?>
    window.initAutocomplete = function () {
    new google.maps.places.Autocomplete(document.querySelector(‘.quform-field-2_90’), { types: [‘geocode’] });
    };
    <?php

    wp_add_inline_script(‘google-maps’, ob_get_clean(), ‘before’);
    });

    #25945
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2020 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy