• Resolved Winework

    (@winework)


    Hi there,

    We have a 2 page Forminator form where we would like to transfer a value from a text field in the first page into a text field on the second page. We have downloaded the plugin (https://gist.github.com/wpmudev-sls/9c1afcfcccd33dc7c662a901d51ae302):

    forminator-field-autofill.php

    and had the hosting company install that file here:

    /wp-content/mu-plugins/

    The plugin is supposed to pre-populate the intended corresponding field on the second page once pagination takes place. Currently this is having no effect.

    1) Are we referencing the query parameter correctly? How should the parameter be correctly written/expressed?

    I have a text field in page 1 {text-2} and wish to transfer the entered value into {text-24} on page 2 of the form. In the pre-populate section of settings in text-24, under Query parameter, we have entered:

    text-2

    We have also tried entering

    {text-2}

    2) Is there any additional code that we need to place into the form page itself to get the plugin to work correctly?
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Saurabh – WPMU DEV Support

    (@wpmudev-support7)

    Hello @winework

    Hope you’re doing well today! Thank you for reaching out to us.

    I believe you are using a legacy code from Github and the event $('.forminator-pagination').on('change', function(){
    was updated to
    $(document).on('forminator.front.pagination.move', function(){

    But please note, fixing it or updating the code is out of the scope of support we can provide. For that, you’ll need to hire a developer to provide the required custom code for you. WordPress provides a jobs directory here https://jobs.wordpress.net/, if you need further advice about it, feel free to email wpsupport@incsub.com.

    Subject: ATTN: WPMU DEV support – wp.org

    Kind Regards,
    Saurabh

    Thread Starter Winework

    (@winework)

    Thank you for your help, Saurabh.

    The updated code you shared works perfectly.

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

The topic ‘Prepopulating Fields’ is closed to new replies.