How to set up a redirect based on the frontend language

Although the Return URL is not a translatable field, the easiest way to set up a redirect based on the language that is being used on the website's frontend, is through a Hidden Field holding a different value based on the language used to edit the form.

You can follow this steps:

  • Edit your form and create a Hidden Field named 'Redirect'
  • Select the language from the upper left corner then add an URL into the 'Default Value' area of this field (for example for the English language and for the German language)
  • Add the placeholder generated for the hidden field here: Form Properties > Form Info > Submission 'Return URL' field: {Redirect:value}

5 persons found this article helpful.

Was this article helpful?

Yes No
Sorry about that