TOPIC:

Submit button should not refresh the page before Thank You page will be shown 3 weeks 5 days ago #242875

  • Topic Author
  • olliek
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 18
  • Thanks: 0
Hi,

I would like realize a form in a popup (here I use Tassos Marinos nice popup extension and load the form in an article). The problem is, that breezingforms refresh the page after clicking the submit button. The popup is closing and the Thank You page will not be show (and here ist an important PDF download link included :(

Is it possible to avoid the refresh? I'd tested the OnePage Forms, but there will open a new pop up behind the popup.

Thank you and best regards
Ollie
Attachments:

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

Submit button should not refresh the page before Thank You page will be shown 3 weeks 5 days ago #242876

  • TheMuffinMan's Avatar
  • TheMuffinMan
  • Offline
  • Developer
  • Developer
  • Posts: 9255
  • Karma: 167
  • Thanks: 744
Hi,

You can enable the one page form in form -> advanced.

Bootstrap theming engine must be enabled for this.

Regards,
Markus

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

Submit button should not refresh the page before Thank You page will be shown 3 weeks 5 days ago #242877

  • TheMuffinMan's Avatar
  • TheMuffinMan
  • Offline
  • Developer
  • Developer
  • Posts: 9255
  • Karma: 167
  • Thanks: 744
...sorry missed your second popup comment.

Do you have html5 upload elements in your form?

If not I can send you a small custom action that should do the trick.

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

Submit button should not refresh the page before Thank You page will be shown 3 weeks 5 days ago #242879

  • Topic Author
  • olliek
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 18
  • Thanks: 0
Hi,

Thank you for the fast answer.

No, there are no uploads in the form. I would be happy about your custom action :)

Best regards
Ollie

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

ortSubmit button should not refresh the page before Thank You page will be shown 3 weeks 5 days ago #242895

  • TheMuffinMan's Avatar
  • TheMuffinMan
  • Offline
  • Developer
  • Developer
  • Posts: 9255
  • Karma: 167
  • Thanks: 744
Hi,

I put some effort into this as people might need that more often.

Please download the files attached.

The BreezingForms component please install over your existing installation.
It solves a few issues unrelated to your request that could interfere.

Then download, unzip and install the ajaxsubmit.xml in BF => Configuration => Package Installer.

It installs 2 things:

1. A sample form with ajax submissions using file uploads and captcha (to make sure it works for all elements)

2. A separate, re-usable action script called "ff_validate_submit_ajax"

After installing the above, you can use this in your own form the following way:

1. In your form settings set "Include Submitt Button" to "no"
2. Add a custom button to your form
3. In the custom button's advanced tab, go to action script, choose library, select "ff_validate_submit_ajax and check "click".
4. Then save and test your form

File Attachment:

File Name: ajaxsubmit.zip
File Size:14 KB

File Attachment:

File Name: com_breezi...6-16.zip
File Size:3,960 KB


The ajax submit action will be shipped in the next update, but it will only install for new installations. That's why I also attached it with ajaxsubmit.zip separately.

Regards,
Markus
Attachments:
The following user(s) said Thank You: olliek

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

Submit button should not refresh the page before Thank You page will be shown 3 weeks 5 days ago #242903

  • Topic Author
  • olliek
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 18
  • Thanks: 0
Hi Markus,

Thank you very much. Your sample form works perfect :)
Now I'll adapt your code in my form.

Best regards
Ollie

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

Moderators: ForumSupport
Time to create page: 0.080 seconds

Summer Sale!

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!