Form Help

TOPIC:

Submit form redirect 1 year 10 months ago #246345

  • Topic Author
  • jodee
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 10
  • Thanks: 0
Hi,

I have already looked on the forum and have seen a few topics relating to this but I haven't come across where you actually add the code. What I would like to do is when the submit button is pressed they are redirected to an actualy thank you page. I saw the code below and added into here: Manage Forms > Contact Us (form name) > Advanced > More Options > Scripts

I'm assuming this isn't the correct place or maybe this is not the correct code to be using. Please can you direct me to the right place?

$this->execPieceByName('ff_InitLib');
JFactory::getApplication()->redirect(' www.bcltimberprojects.co.uk/thank-you ');

Thanks in Advance.

Please Log in or Create an account to join the conversation.

Submit form redirect 1 year 10 months ago #246346

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 10535
  • Karma: 3
  • Thanks: 705
Hi,

go to your form->Advanced->More options->Submit pieces->End Submit->check custom and put this:
$this->execPieceByName('ff_InitLib');
JFactory::getApplication()->redirect('https://www.bcltimberprojects.co.uk/thank-you', 'parent');

Let me know if it works for you

Regards,
Tihana

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Moderators: ForumSupport
Time to create page: 0.089 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

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!