How do I make my form redirect to a thank you page at a different URL instead of using the thank you page that the form creates?

Create an END SUBMIT piece.

Form Properties > Advanced Tab > More Options > Submit Pieces Tab Then click on "CUSTOM" in the END SUBMIT section and paste in the following code: 

$this->execPieceByName('ff_InitLib');
JFactory::getApplication()->redirect('myThankYouPage.php');
/*If you are redirecting to a page outside of your server, then it should be coded like this:*/
$this->execPieceByName('ff_InitLib');
JFactory::getApplication()->redirect('http://www.yourDomain.com/page.html');
/**If your form is displayed in an iFrame and you want the page you are redirecting to, to break out of the iFrame and appear in the main window, use this code instead: */
$this->execPieceByName('ff_InitLib');
JFactory::getApplication()->redirect('/myThankYouPage.php', 'parent');

 

or, if redirecting to a page outside of your server: 

$this->execPieceByName('ff_InitLib');
JFactory::getApplication()->redirect('http://www.yourDomain.com/page.html', 'parent');

(Remember to replace the /myThankYouPage.php or http://www.yourDomain.com/page.html with the correct URL for your thank you page!)

Once you have added that code, click on the SAVE button at the bottom of that screen. You will then be taken back to the form's property screen. Click on SAVE PROPERTIES to save the changes to the form's properties, and then click on the SAVE icon in the upper left-hand corner of the screen to save the form itself.

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

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!