TOPIC:

button for save data only 3 weeks 5 days ago #277269

  • Topic Author
  • hcohl
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 32
  • Thanks: 0
I need a button that only saves the entered data but without sending it by email

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

button for save data only 3 weeks 3 days ago #277286

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

I am not sure that it is possible to prevent mail notification but please try this:


1) add submit button to your form and name it Save (Name should be Save, not Title).

2) go to that buton->Advanced->Actionscript->check click and put:
function ff_Save_action(element, action)
{
    switch (action) {
        case 'click':

JQuery.ajax({
          type: "POST",
          url: JQuery(element).closest("form").attr("action"),
          data: JQuery(element).closest("form").serialize(),
          success: function(data)
          {
              //alert(data); // possible pop-up confirmation
               alert('Saved!'); //popup window that form is saved
          }
        });

            break;
        default:;
    } // switch
}
This will save the form

Regards,
Tihana

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

button for save data only 3 weeks 3 days ago #277295

  • Topic Author
  • hcohl
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 32
  • Thanks: 0
Thank you for that script.
That saves my data, but also sends the email. Is it possible to prevent sending the email?

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

button for save data only 3 weeks 3 days ago #277297

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

I am not sure, but I will check it and let you know

Regards,
Tihana

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

  • Page:
  • 1
Time to create page: 0.047 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!