TOPIC:

Redirect page after user hits submit 5 years 5 months ago #193292

  • marko.bosnjak
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 2222
  • Karma: 44
  • Thanks: 280
Hi,

can you send us the form so we can inspect it?

Regards,
Marko
======================================
Support Crosstec and get ALL EXTENSIONS and professional support for just $5
Here!
======================================
Need to renew Pro Support?
Buy Here!
======================================
Satisfied?
Consider a Membership!
======================================
Follow us on Facebook!

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

Redirect page after user hits submit 5 years 5 months ago #193295

  • DaniH
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 22
  • Thanks: 0
Sure, here it is

This message contains confidential information


Thanks in advance

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

Last edit: Post by MarioPuco.

Redirect page after user hits submit 5 years 5 months ago #193296

  • marko.bosnjak
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 2222
  • Karma: 44
  • Thanks: 280
Hi,

here are some possible solutions. Go to 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');

If you have furher questions, please contact us.

Regards,
Marko
======================================
Support Crosstec and get ALL EXTENSIONS and professional support for just $5
Here!
======================================
Need to renew Pro Support?
Buy Here!
======================================
Satisfied?
Consider a Membership!
======================================
Follow us on Facebook!

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

Last edit: Post by marko.bosnjak.

Redirect page after user hits submit 5 years 5 months ago #193297

  • DaniH
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 22
  • Thanks: 0
Hi marko,

I've tried these tips but none seems to be the solution, the forms keeps returning to the same page after submit and doesn't redirect to any page I put in the code T.T

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

Redirect page after user hits submit 5 years 5 months ago #193302

  • marko.bosnjak
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 2222
  • Karma: 44
  • Thanks: 280
Hi DaniH,

can you make a package of your form and send it to us. Please follow this link:
crosstec.org/en/support/online-documenta...ted/94-packages.html

Regards,
Marko
======================================
Support Crosstec and get ALL EXTENSIONS and professional support for just $5
Here!
======================================
Need to renew Pro Support?
Buy Here!
======================================
Satisfied?
Consider a Membership!
======================================
Follow us on Facebook!

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

Redirect page after user hits submit 5 years 5 months ago #193306

  • DaniH
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 22
  • Thanks: 0
Ok, here it is

Thanks in advance
Attachments:

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

Moderators: ForumSupport
Time to create page: 0.078 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!