# Add parameter into URL after submission (not redirect)

**URL:** <https://community.gravityforms.com/t/add-parameter-into-url-after-submission-not-redirect/16431>\
**Category:** Get Help\
**Tags:** confirmation-redirect, anchor-tag, query-string\
**Created:** [December 7, 2023, 3:35pm UTC](https://community.gravityforms.com/t/add-parameter-into-url-after-submission-not-redirect/16431 "2023-12-07T15:35:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mad2kx](https://avatars.discourse-cdn.com/v4/letter/m/e95f7d/32.png) [@mad2kx](https://community.gravityforms.com/u/mad2kx)\
**Post date:** [December 7, 2023, 3:35pm UTC](https://community.gravityforms.com/t/add-parameter-into-url-after-submission-not-redirect/16431/1 "2023-12-07T15:35:16Z")

</div>

Hello,

I have a product enquiry landing page with 6 products. On the product page is a button that leads to a contact page. I am prepopulating the dropdown selector so that the person does not need to select the product anymore with:

example/?product=product\_name\_1  
example/?product=product\_name\_2  
example/?product=product\_name\_3

etc.

Usually GF adds a “?” after successful submission, but in this case, the “?” is missing after successful submission, I assume because it is already within the URL?

Anyways, is there a way to add a “#completed” into the URL after successful submission? So when a user lands on the product landing page, they then click on the desired product to get to the form, the URL then becomes “?product=product\_name\_1” and after submission the URL changes to “example/?product=product\_name\_1#completed”

Sorry had to remove all the URLS because I cannot add more URL, but I hope it makes sense after all.

Please help?

---

<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:** [January 6, 2024, 3:35pm UTC](https://community.gravityforms.com/t/add-parameter-into-url-after-submission-not-redirect/16431/2 "2024-01-06T15:35:46Z")

</div>

Closed on January 6, 2024, 3:35pm UTC

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