I need a form that redirects to different thank you pages depending on the users language. Is this possible?

*Note: In the latest version of Breezingforms this is a native feature in Quickmode.

To have a different Thank You page using a form, you will need to create custom (article) Thank You pages so that the form recognizes the current language and redirect to the correct page when the form is submitted. If, for example, you have a form in english, german and spanish, you should add a code like follows into a custom End Submit script (Submit pieces > End > Custom):

 

$this->execPieceByName('ff_InitLib');
$lang = JFactory::getLanguage();
$i = $lang->getTag(); 
switch ($i)
{
     case "es-ES" :
     ff_redirect('/es/gracias');
     break;
     case "en-GB":
     ff_redirect('/en/thank-you');
     break;
     case "de-DE":
     ff_redirect('/de/danke');
     break;
}

All Extensions Subscription

Get 1 year access to all of our current and future products and 1 year of professional support -- 99 for just 49! (Summer Sale)

No support per domain or website installation limits! Includes all of our current and future Joomla!® extensions, Joomla!® templates for the duration of your membership. This means, by purchasing an All Extensions Subscription you'll have it all covered!

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!

Live Support Chat Opened!

Join our Discord chat here to receive live support and talk directly to the team!

Community Reward

Help us to create new extensions and plugins! With only $5 you help us a lot and get unlimited download access to all of our products, professional support and even more. Get your reward now!

Read More Here