Conditionally change submit button LINK

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?

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?

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.

How are you accomplishing this?

WPML language plugin and the GF language plugin.

Let me know if you have any questions.

Thank you

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:

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

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

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

You can find some help here:

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

Thank you.

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

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

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