Form Help

TOPIC:

Show loader image after submitting breezingform 6 years 9 months ago #115514

  • Topic Author
  • emilie
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 16
  • Thanks: 0
Hi Guys,

I want to tell the user that the form is getting submitted by showing a preloader image.

Please find the link of the image for your reference:
cdn.tutsplus.com/active/uploads/legacy/f...pplePreloader/12.jpg

Thanks guys for your interest.

Emilie

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

Show loader image after submitting breezingform 6 years 9 months ago #115587

  • chrisal's Avatar
  • chrisal
  • Offline
  • Ultimate Breezer
  • Ultimate Breezer
  • Posts: 6983
  • Karma: 187
  • Thanks: 629
Hello emilie,

you can do this with a custom submit button which will submit the form and open a section which contains your image.

This is what the code should look like:
function ff_custom_submit_action(element, action)
{
    switch (action) {
        case 'click':
ff_getElementByName('SectionName').style.display = 'block';
ff_validate_submit();
            break;
        default:;
    } // switch
} // ff_custom_submit_action
custom_submit = Name of submit button
SectionName = Name of section which contains the loader image

You have to turn the section off to make it work.


regards
Chris

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

Show loader image after submitting breezingform 1 week 1 day ago #254292

  • michiel@TSS
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 124
  • Thanks: 0
Hello,

Found this topic to show a loader while form is submitting.
But when i enter this:
function ff_Verzenden_action(element, action)
{
switch (action) {
case 'click':
ff_getElementByName('pageloader').style.display = 'block';
ff_validate_submit();
break;
default:;
} // switch
} // ff_Verzenden_action
The submit button does not do anything anymore and the form will not be submitted..
How can i accomplish that a loader image will be shown when submitting the form??

Thanks

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

Show loader image after submitting breezingform 1 week 1 day ago #254295

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

like this:
function ff_Verzenden_action(element, action)
{
switch (action) {
case 'click':
document.getElementById('pageloader').style.display = 'block';
ff_validate_submit();
break;
default:;
} // switch
} // ff_Verzenden_action

Regards,
Tihana

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

  • Page:
  • 1
  • 2
Moderators: ForumSupport
Time to create page: 0.050 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!