• Resolved sergio_jfj

    (@sergio_jfj)


    Hello,
    I created a form where I fill in the data with a dropdown taking this data from a JSON file and when I click on the send button it takes me to another form where the fields of the first one are already filled in and other fields are blank. The forms are on different pages. I managed to retrieve the ID of the first form in the fields of the second. However, I can’t show the value in the second form, it always returns the field ID. I’m using the following nomenclature in the first form to send the data:

    https://my_url/?wpf553_18={field_value_id="ID"}. 

    However, as I said in the second, it only returns the id of the field and not the value. I registered the following script in functions:

    add_filter( 'wpforms_fields_show_options_setting', '__return_true' );

    Can you help me to know what is happening to return the value of the field?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey @sergio_jfj – Thanks for reaching out!

    When you have sometime, can you please share URL links of both the forms; source and destination, and let me know the exact form field that you are looking to populate?

    That said, for dropdown values, you can take a look at our doc here in the meantime wherein you can consider using the ?wpf771_4=dropdown1 pattern, and please be sure to prefill by URL option in the form.

    Kindly,

    • This reply was modified 1 year, 10 months ago by Prashant Rai.

    Hey @sergio_jfj – We haven’t heard back from you since my previous message, so I’m going to go ahead and close this thread for now. But if you’d like us to assist further, please feel welcome to continue the conversation.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Get data from another form on different pages’ is closed to new replies.