Form Help

TOPIC:

Thank you message when the user submits the form PopUp 3 weeks 1 day ago #247684

  • Topic Author
  • Mengler
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 11
  • Thanks: 0
Hi, we are working on a form and having the following issue regarding scripts.

We want to create a popup message for after the form is submitted. Following the instruction we change the Submitted Script and save. When the form is submitting, nothing happens except getting the email notifications.

We attempted several times and realized that after we save, the script reverts back to the original;

function ff_get_quote_submitted(status, message){if(status==0){ff_switchpage(4);}else{alert(message);}}

We also tried using the Library script "FF::ff_showsubmitted"

Any help would be greatly appreciated.

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

Thank you message when the user submits the form PopUp 3 weeks 1 day ago #247710

  • tihana.krivic's Avatar
  • tihana.krivic
  • Away
  • Moderator
  • Moderator
  • Posts: 1260
  • Karma: 3
  • Thanks: 110
Hi,

please try this:
-go to your form and disabe "Last page is thank you page"
-go to your form->Advanced->more options->Scripts->Submitted Script->check custom and put this:
function ff_NAMEOFYOURFORM_submitted(status, message)
{
    switch (status) {
case FF_STATUS_OK:
alert("Thank you for your submission."); // do whatever desired on success
break;
case FF_STATUS_UNPUBLISHED:
case FF_STATUS_SAVERECORD_FAILED:
case FF_STATUS_SAVESUBRECORD_FAILED:
case FF_STATUS_UPLOAD_FAILED:
case FF_STATUS_ATTACHMENT_FAILED:
case FF_STATUS_SENDMAIL_FAILED:
default:
alert(message);
} // switch
} // ff_NAMEOFYOURFORM_submitted

Please replace NAMEOFYOURFORM with name of your form (not title)

Let me know if it helps

Regards,
Tihana

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

Thank you message when the user submits the form PopUp 3 weeks 23 hours ago #247755

  • Topic Author
  • Mengler
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 11
  • Thanks: 0
Hi Tihana!

So we attempted your suggestion for the script. Unfortunately, it did not work. We have also tried another code for your forums, but that did not work. However, we have previously used a script, which is functioning as expected for the Initialization Script.


See screenshots
Attachments:

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

Thank you message when the user submits the form PopUp 3 weeks 23 hours ago #247759

  • tihana.krivic's Avatar
  • tihana.krivic
  • Away
  • Moderator
  • Moderator
  • Posts: 1260
  • Karma: 3
  • Thanks: 110
Hi,

if you want I can take a look.
Please send me backend link and login information.
Use this:
[confidential]
[/confidential]

Regards,
Tihana

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

Thank you message when the user submits the form PopUp 3 weeks 10 minutes ago #247818

  • Topic Author
  • Mengler
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 11
  • Thanks: 0
This message contains confidential information

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

Thank you message when the user submits the form PopUp 2 weeks 4 days ago #247851

  • tihana.krivic's Avatar
  • tihana.krivic
  • Away
  • Moderator
  • Moderator
  • Posts: 1260
  • Karma: 3
  • Thanks: 110
Hi,

The simplest way would be using the one-page layout setting in form => advanced.
This option appears if you choose to use the Bootstrap theming engine and will provide a thank you page in a "popup".

Regards,
Tihana

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

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