# Conditionally change submit button LINK

**URL:** <https://community.gravityforms.com/t/conditionally-change-submit-button-link/13235>\
**Category:** Get Help\
**Tags:** gform\_field\_value, confirmations, wpml, conditional-confirmations, languages\
**Created:** [August 13, 2022, 7:45pm UTC](https://community.gravityforms.com/t/conditionally-change-submit-button-link/13235 "2022-08-13T19:45:33Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Salty\_Endeavors](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/salty_endeavors/32/5679_2.png) [@Salty\_Endeavors](https://community.gravityforms.com/u/Salty_Endeavors)\
**Post date:** [August 13, 2022, 7:45pm UTC](https://community.gravityforms.com/t/conditionally-change-submit-button-link/13235/1 "2022-08-13T19:45:33Z")

</div>

Hello,

I have a GF that opens in various languages based upon theuser browser settings. After submitting Page 1 (the actual GF) th esubmit button sends the user to a secure Adobe E-Sign document. I have these documents done by language as well.

As Adobe forms are a single language / page, the browser setting does not adjust the Adobe form language. They simply get the hard link which right now directs to English.

So in short, I want my submit button to conditionally change the link in the submit button based upon the user browser settings. So if my GF page opens in Spanish, I want the Submit Button link to send the user to the Spanish Adobe form.

Possible?

---

<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:** [August 13, 2022, 9:19pm UTC](https://community.gravityforms.com/t/conditionally-change-submit-button-link/13235/2 "2022-08-13T21:19:49Z")

</div>

Hello. If you know the language when the page loads, you can use multiple confirmations and conditional logic on each to redirect to a language-specific Adobe form.

You will need to store the language in a form field to use the conditional logic on the confirmation. Are you already doing that?

---

<div class="post-metadata">

**Author:** ![Salty\_Endeavors](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/salty_endeavors/32/5679_2.png) [@Salty\_Endeavors](https://community.gravityforms.com/u/Salty_Endeavors)\
**Post date:** [August 14, 2022, 2:07pm UTC](https://community.gravityforms.com/t/conditionally-change-submit-button-link/13235/3 "2022-08-14T14:07:51Z")

</div>

Hi Chris,

Thanks for your response.

I’m not certain I understand you correctly, but are you saying I should create a question that simply says “What language do you want….” And then use conditional logic from there? I can see how that would work, but I’d rather not dumb it down to that extent.

Currently the GF that loads is based upon the user’s browser setting. We have English and Spanish for now, but will add German, French, and perhaps others once the format is 100% operational in Spanish.

So, I’d like to keep it as simple as using the user’s browser settings, if possible.

I have looked through the Confirmation settings page but I am not seeing a Conditional Logic option to edit.

Let me know if you have any questions.

---

<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:** [August 15, 2022, 3:58am UTC](https://community.gravityforms.com/t/conditionally-change-submit-button-link/13235/4 "2022-08-15T03:58:39Z")

</div>

How are you accomplishing this?

> [@Salty\_Endeavors](#):
>
> Currently the GF that loads is based upon the user’s browser setting.

---

<div class="post-metadata">

**Author:** ![Salty\_Endeavors](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/salty_endeavors/32/5679_2.png) [@Salty\_Endeavors](https://community.gravityforms.com/u/Salty_Endeavors)\
**Post date:** [August 15, 2022, 3:44pm UTC](https://community.gravityforms.com/t/conditionally-change-submit-button-link/13235/5 "2022-08-15T15:44:33Z")

</div>

WPML language plugin and the GF language plugin.

Let me know if you have any questions.

Thank you

---

<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:** [August 15, 2022, 5:39pm UTC](https://community.gravityforms.com/t/conditionally-change-submit-button-link/13235/6 "2022-08-15T17:39:27Z")

</div>

With WPML or the language plugin you are using, you should be able to capture the language into a form field when the form is loaded. WPML or the language plugin should have a function to get the current language (in the same way it knows a specific language for a specific page.) Once you know that function, you can populate a hidden field in the form using the function so that it is stored in the entry. This is the Gravity Forms filter to use once you know the WPML function:

> **[gform\_field\_value\_$parameter\_name](https://docs.gravityforms.com/gform_field_value_parameter_name/)**
>
> This filter is executed before displaying each field and can be used to dynamically populate fields with a default value.

Then, you base your confirmation conditional logic on that field. The user does not need to provide that to you. Thank you.

---

<div class="post-metadata">

**Author:** ![Salty\_Endeavors](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/salty_endeavors/32/5679_2.png) [@Salty\_Endeavors](https://community.gravityforms.com/u/Salty_Endeavors)\
**Post date:** [August 24, 2022, 2:31pm UTC](https://community.gravityforms.com/t/conditionally-change-submit-button-link/13235/7 "2022-08-24T14:31:49Z")

</div>

Hi Chris,

Apologies here, but you’ve completely lost me on this. I’ve read through it a number of times and just can’t make sense of what you are saying. Is there walk through for dummies available on this? Or some service I could pay to simply make it happen?

Let me know if you have any questions.

Thank you,

Henry C. Schultz, III  
Owner – Salty Endeavors Scuba Center

---

<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:** [August 24, 2022, 2:44pm UTC](https://community.gravityforms.com/t/conditionally-change-submit-button-link/13235/8 "2022-08-24T14:44:21Z")

</div>

I don’t have a ‘for dummies’ version of this. I admit it’s a little complicated.

You can find some help here:

> **[Gravity Forms Custom Development](https://docs.gravityforms.com/custom-development/)**
>
> If you need custom functionality, you might need to hire a developer. We can point you to two starter places that may help.

Or you can post on our job board and see if you attract any attention:

> **[Job Board](https://community.gravityforms.com/c/job-board/34)**
>
> Someone out there may need the skills you you have! Post your skills or “Available to work” posts here.

Thank you.

---

<div class="post-metadata">

**Author:** ![user61e969533462f146](https://avatars.discourse-cdn.com/v4/letter/u/d07c76/32.png) [@user61e969533462f146](https://community.gravityforms.com/u/user61e969533462f146)\
**Post date:** [August 30, 2022, 10:13am UTC](https://community.gravityforms.com/t/conditionally-change-submit-button-link/13235/9 "2022-08-30T10:13:47Z")

</div>

> [@Salty\_Endeavors](#):
>
> Salty Endeavors Scuba Center

Hello Henry,

I just spotted this issue you are having & I’d like to help you see clearly to understand the solution presented by Chris.

Are you still trying to work this out? Or is it solved now?

Let me know and perhaps together we can help you grasp the solution.

Thanks

Temi

---

<div class="post-metadata">

**Author:** ![Salty\_Endeavors](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/salty_endeavors/32/5679_2.png) [@Salty\_Endeavors](https://community.gravityforms.com/u/Salty_Endeavors)\
**Post date:** [August 30, 2022, 1:03pm UTC](https://community.gravityforms.com/t/conditionally-change-submit-button-link/13235/10 "2022-08-30T13:03:04Z")

</div>

Hello,

Yes I would like help with this if possible.

Let me know if you have any questions.

Thank you,

Henry C. Schultz, III  
Owner – Salty Endeavors Scuba Center

---

<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:** [September 29, 2022, 1:03pm UTC](https://community.gravityforms.com/t/conditionally-change-submit-button-link/13235/11 "2022-09-29T13:03:14Z")

</div>

Closed on September 29, 2022, 1:03pm UTC

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