# Query String/Merge Data?

**URL:** <https://community.gravityforms.com/t/query-string-merge-data/13737>\
**Category:** Get Help\
**Tags:** query-string, gravity-wiz\
**Created:** [October 26, 2022, 9:42pm UTC](https://community.gravityforms.com/t/query-string-merge-data/13737 "2022-10-26T21:42:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![user61708c8fea42c555](https://avatars.discourse-cdn.com/v4/letter/u/71e660/32.png) [@user61708c8fea42c555](https://community.gravityforms.com/u/user61708c8fea42c555)\
**Post date:** [October 26, 2022, 9:42pm UTC](https://community.gravityforms.com/t/query-string-merge-data/13737/1 "2022-10-26T21:42:51Z")

</div>

Hey Guys!

I’m creating a drop down form, and wanted to take all the choices/feedback the user picks to populate a page with merged tags data? If so, how would that work?

For example:  
If you choose this dropdown option on the form, when redirected to the confirmation page, it would show you a list of predefined links based on your initial dropdown choice?

---

<div class="post-metadata">

**Author:** ![sacom](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/sacom/32/53_2.png) [@sacom](https://community.gravityforms.com/u/sacom)\
**Post date:** [October 28, 2022, 3:50pm UTC](https://community.gravityforms.com/t/query-string-merge-data/13737/2 "2022-10-28T15:50:13Z")

</div>

Once you submit the form and the user is redirected, Gravity Forms job ends. There’s no control of your page content from Gravity Forms. So if you want to show something in that page based on the choices selected in your form, from Gravity Forms side of things you could configure the query string to pass a set of parameters and values using the fields merge tags. Something like:

`parameter1={Some Field:1}&parameter2={Another Field:2}`

But that would just pass the data in the URL, then you would need to set up something in your page to get those values from the query string and dynamically output the links you want. I’m not aware of any ready to use solution for it, so it would be custom work.

---

<div class="post-metadata">

**Author:** ![chrishajer](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/chrishajer/32/88_2.png) [@chrishajer](https://community.gravityforms.com/u/chrishajer)\
**Post date:** [October 28, 2022, 5:20pm UTC](https://community.gravityforms.com/t/query-string-merge-data/13737/3 "2022-10-28T17:20:52Z")

</div>

Once Gravity Forms has passed the information to the confirmation page (in the query string) you can use one of these solutions to ‘catch’ those query string parameters and values, and display or otherwise use the data:

> **[URL Params](https://wordpress.org/plugins/url-params/)**
>
> Short Code to grab any URL parameter from the Query String and display it or display conditional content.

or

> **[Post Content Merge Tags](https://www.gravityforms.com/add-ons/post-content-merge-tags/)**
>
> What does it do? This plugin provides the ability to include Gravity Forms merge tags in your WordPress post content. The uses are endless but here are a few of the most common. Reclaim complete control over the styling of the redirect page while...

That will make the information available to the page. I am not sure how the next part “show you a list of predefined links based on your initial dropdown choice” needs to work exactly, but hopefully one of these solutions will help you further along.

---

<div class="post-metadata">

**Author:** ![user61708c8fea42c555](https://avatars.discourse-cdn.com/v4/letter/u/71e660/32.png) [@user61708c8fea42c555](https://community.gravityforms.com/u/user61708c8fea42c555)\
**Post date:** [October 28, 2022, 7:35pm UTC](https://community.gravityforms.com/t/query-string-merge-data/13737/4 "2022-10-28T19:35:17Z")

</div>

Thanks @sacom and @chrishajer I think a combination of both of you suggestions with a little php work should do the trick. Thanks again guys!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/f/fef63f0599c45e0218c30d9f5d7ca8bff9b00189.png) [@system](https://community.gravityforms.com/u/system)\
**Post date:** [October 29, 2022, 7:36pm UTC](https://community.gravityforms.com/t/query-string-merge-data/13737/5 "2022-10-29T19:36:11Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
