TOPIC:

Select Box mit Kategorien wie bei <optgroup label="Gruppenname"> 2 months 3 days ago #250709

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

this script is ok.
Problem is that two }} is missing in paypal button.

Please go to your paypall button ->Advanced->Actionscript->and in the end of function add
}
}
This is missed.

Also, for hidden element PayPal Select you need to set name bfPaymentSelect, otherwise paypal won't work.
Then in your paypal button don't forget to change this name of hidden element.

I hope that you understood me.

If you have a problem, I will attach the form

Regards,
Tihana

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

Select Box mit Kategorien wie bei <optgroup label="Gruppenname"> 2 months 3 days ago #250710

  • Topic Author
  • inozwo
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 16
  • Thanks: 0
Hi Tihana,
I added the missing
}
}
But why are they not there anyway? I used the sample quickform, and they still are in the original...
But then, hurray!, the select boxes worked again.

the form was send and the email came in.

The email that came back said at the very end with the following paypalinformation:
Bitte wählen Sie noch Ihre gwünschte Zahlart aus!: paypal
Betrag: 1
Paypal Select: Donation|0|[object HTMLInputElement]|0


But couldn't connect to the paypal checkout.
The usual message from paypal:
Sorry, could not process...try again later.
I'm using a sandbox account (business) adress.

I donated 15 € (tip) to the company.

But tried again, and then, the select boxes did not work again. :-(((

IDK

I'm getting tired of this game.
Regards
Ines

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

Last edit: Post by inozwo.

Select Box mit Kategorien wie bei <optgroup label="Gruppenname"> 2 months 3 days ago #250711

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

basically in your paypal button is missed }}.
Ok I noticed that there is missed .value on this part ff_getElementByName('bfQuickMode3720817') in paypal button.

The whole code for paypal button should looks like:
function ff_bfQuickMode5339732_action(element, action)
{
    switch (action) {
        case 'click':
ff_getElementByName('bfPaymentSelect').value = 'Donation|0|' + ff_getElementByName('bfQuickMode3720817').value + '|0';
ff_validate_submit();
            break;
           default:; 
}
}

Regards,
Tihana

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

Last edit: Post by tihana.krivic.

Select Box mit Kategorien wie bei <optgroup label="Gruppenname"> 2 months 3 days ago #250712

  • Topic Author
  • inozwo
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 16
  • Thanks: 0
I already added the missing .value
read it here in the forum half an hour ago...

still doesent work
Where is this little mistake???
First: I renamed the sample original Name: 'PayPalSelect' to 'bfPaymentSelect'
Second: added the missing .value to the amount bfQuickMode3720817
function ff_bfQuickMode5339732_action(element, action)
{
switch (action) {
case 'click':
ff_getElementByName('bfPaymentSelect').value = Donation|0|' + ff_getElementByName('bfQuickMode3720817').value + '|0';
ff_validate_submit();
break;
default:;
}
}

It is exactly the same function

another tip was add '|0' to '|0'
to get '|0|0'

didn t work

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

Select Box mit Kategorien wie bei <optgroup label="Gruppenname"> 2 months 3 days ago #250714

  • Topic Author
  • inozwo
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 16
  • Thanks: 0
I found

Donation|0|' + without the ' in front....

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

Select Box mit Kategorien wie bei <optgroup label="Gruppenname"> 2 months 3 days ago #250715

  • Topic Author
  • inozwo
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 16
  • Thanks: 0
and it worked Donation|0|' + with the ' in front....

'Donation|0|' + with ' in front....
and its working

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

Moderators: ForumSupport
Time to create page: 0.054 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!