TOPIC:

Click on button to go to another Breezing Form 1 month 1 week ago #275808

  • Mirec's Avatar
  • Mirec
  • Offline
  • Ultimate Breezer
  • Ultimate Breezer
  • Posts: 2967
  • Karma: 2
  • Thanks: 150
Hi,

super! :)

Thank you for sharing your solution with community! :)

If you have more questions, feel free to ask!


Regards,
Mirko

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

Click on button to go to another Breezing Form 1 month 4 days ago #275947

  • sitavs
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 30
  • Thanks: 0
After further testing, it seems this solution doesn't work as expected; The page redirects to the new URL before the form is fully submitted, so the data isn't saved.

Instead, I've added a radio button, which asks whether the user wants to submit the form or submit and redirect (which actually goes back to the same form):
$value = ff_getSubmit('add_cab');
switch( $value )
{
     case 'yes': header("Location: https://mypage.com/index.php?option=com_breezingforms&view=form&Itemid=111&data_ref_id={$ref_id}&cab_number={$cab_number}"); exit;break;
}

Thanks,

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

Click on button to go to another Breezing Form 1 month 4 days ago #275948

  • Mirec's Avatar
  • Mirec
  • Offline
  • Ultimate Breezer
  • Ultimate Breezer
  • Posts: 2967
  • Karma: 2
  • Thanks: 150
Hi,

super solution!

Thank you for sharing the solution!

If you have more questions, feel free to ask!


Regards,
Mirko

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

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