TOPIC:

Content Builder /w Breezing Forms edit article. 1 year 3 months ago #235217

  • tyekynan's Avatar Topic Author
  • tyekynan
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 104
  • Karma: 1
  • Thanks: 3
I have a form made with breezing forms that has a paypal button. I disabled the submit because the form is submitted once they make payment through paypal.

When I click on an article from the content builder list to edit those records, I have no way to submit/save the records. It just wants to send me to paypal (of course).

How can I fix this?

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

Content Builder /w Breezing Forms edit article. 1 year 3 months ago #235223

  • MarioPuco's Avatar
  • MarioPuco
  • Offline
  • Ultimate Breezer
  • Ultimate Breezer
  • Posts: 5958
  • Karma: 119
  • Thanks: 554
Hi,

Well, you can create a Submit button which will be hidden on all times EXCEPT it will be shown in your CB editable template, so that you can submit the form.

Regards,
Mario

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

Content Builder /w Breezing Forms edit article. 1 year 3 months ago #235235

  • tyekynan's Avatar Topic Author
  • tyekynan
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 104
  • Karma: 1
  • Thanks: 3
How would I go about doing this?

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

Content Builder /w Breezing Forms edit article. 1 year 3 months ago #235236

  • MarioPuco's Avatar
  • MarioPuco
  • Offline
  • Ultimate Breezer
  • Ultimate Breezer
  • Posts: 5958
  • Karma: 119
  • Thanks: 554
Hi,

1) Create a submit button ( assign ff_validate_submit script to it )
2) In your CB VIEW Disable your PAYPAL BUTTON ( Do not include it in the list )
3) In you CB VIEW Enable your regular submit button.

Now you should have regular PayPal button on your form and regular Submit while on your CB View.

Regards,
Mario

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

Last edit: Post by MarioPuco.

Content Builder /w Breezing Forms edit article. 1 year 3 months ago #235261

  • tyekynan's Avatar Topic Author
  • tyekynan
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 104
  • Karma: 1
  • Thanks: 3
I think you misunderstood. Let me try again.

Breezing forms:

I have a form with a PayPal button. The submit button is disabled as people that fill out the form need to pay their deposit upon submission. Once they fill out the form and click the PayPal button, they make their payment then the form is submitted.

On our end. We are using content builder with that breezing forms form. I go to list view, THEN I click on one of the records. Now it shows me the article. As I am looking at the article I can click edit.

When I click edit, it more or less pulls up the breezing forms form for me to make changes. However, because I use the PayPal button on that form, there is no submit button for us to save the changes.

We don't have the PayPal button in ListView. Nor do I need a submit button in the list view, but I do when editing the records.

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

Content Builder /w Breezing Forms edit article. 1 year 3 months ago #235288

  • MarioPuco's Avatar
  • MarioPuco
  • Offline
  • Ultimate Breezer
  • Ultimate Breezer
  • Posts: 5958
  • Karma: 119
  • Thanks: 554
Ok, I understand how you want this to work.

There are two ways to achieve what you want.

First, simpler way is to add a piece of code in Initialization script that will hode the submit button on entering data in the form.
This solution can be used only in case you have a requred field in your form.

If you do, follow these steps to achieve what you want:
1) In the form set "Include submit button" to "Yes".
2) Go to form's Advanced properties > More options > Scripts and in Initialzation script set "Type" to "Custom".
In the code area below put the following code:
function ff_FORMNAME_init()
{
if( ff_getElementByName('RequiredElementName').value == "") {
jQuery("button#bfSubmitButton").css("display", "none");
}

} // ff_FORMNAME_init

NOTE: In the code above replace FORMNAME with the name of your form. Also, replace RequiredElementName with the name of the field in your form that is required.

This will work in a way that if the required field is empty on form load, the submit button will be hidden. In case the record is being edited, this field will be filled in so the submit button won't be hidden.

The other solution requires setting a frontend ContentBuilder view for users. In case your form doesn't have a required field I will explain how to set the view.

Let me know whetehr this solution works for you and whetehr you have managed to apply this to your form and view.

Regards,
Mario
The following user(s) said Thank You: tyekynan

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

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