TOPIC:

Next button does'nt work 1 year 3 months ago #238201

  • mihaela
  • Offline
  • Developer
  • Developer
  • Posts: 3128
  • Karma: 105
  • Thanks: 415
Hello,

After a really extensive inspecting into your form, I have managed to found the cause of this issue.

In the "vidangechamp" button element you have had the following code:
ff_getElementByName('choixpassholiday').value = '';
ff_getElementByName('partiespassholiday').value = '';
ff_getElementByName('fullpassholiday').value = '';
ff_getElementByName('fullpassholidaymaster').value = '';
ff_getElementByName('fullpassholidaybootcamp').value = '';
ff_getElementByName('optionpassholiday').value = '';
ff_getElementByName('masterclass').value = '';
ff_getElementByName('choixworkshop').value = '';
ff_getElementByName('choixdanses').value = '';
while it should be put inside a function like this:
function ff_vidangechamp_action(element, action)
{
    ff_getElementByName('choixpassholiday').value = '';
ff_getElementByName('partiespassholiday').value = '';
ff_getElementByName('fullpassholiday').value = '';
ff_getElementByName('fullpassholidaymaster').value = '';
ff_getElementByName('fullpassholidaybootcamp').value = '';
ff_getElementByName('optionpassholiday').value = '';
ff_getElementByName('masterclass').value = '';
ff_getElementByName('choixworkshop').value = '';
ff_getElementByName('choixdanses').value = '';
} // ff_vidangechamp_action

I have replaced it in your form and was successfully passed to the second page afterward.

Let me know whether that resolves the issue.

Also, I have to note that you have an error in the ff_amountowing_action Actionscript function. From the error, I suppose that you are checking if a certain checkbox is checked and that you have used the wrong field name or something like that.

Regards,

Mihaela

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

Next button does'nt work 1 year 3 months ago #238206

  • Topic Author
  • maangles
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 20
  • Thanks: 0
Hi Mihaela

Thanks a lot for resolve ...

really, it's not easy to work with newbies !

The form is once again stopped on account of the same problem : impossible to go nextpage.

I have no tool to finf the exact place where the mistake is, indicate by the web inspector ( look at the screen capture below)

Could you find the error please ?

I'm very sorry ... Thanks again !

Marc-André
Attachments:

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

Next button does'nt work 1 year 3 months ago #238212

  • Topic Author
  • maangles
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 20
  • Thanks: 0
Hello

The problem of my last post is now OK.
Thank you for help .

Is it possible to get the value of one choix of radio box and sens it by the amountowing ?

Il look for a solution in that case.

Thank you very much .

Marc-André

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

Next button does'nt work 1 year 3 months ago #238215

  • Topic Author
  • maangles
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 20
  • Thanks: 0
Hi Mihaela,

I hope you are fine.

All the week end long, I continue to work on my form.

Now, I need to transfer the value of choosing a radio button to another element that needs to display it. At the same time, this value must be added.

The starting radio button element is called:

workshopholidayparties

and it contains this :

0;1 WORKSHOP 45 €;45
0;2 WORKSHOPS 90 €;90
0;3 WORKSHOPS 135 €;135
0;4 WORKSHOPS 180 €;180
0;5 WORKSHOPS 225 €;225
0;6 WORKSHOPS 270 €;270
0;7 WORKSHOPS 315 €;315

I put this framework script in the script action by clic :

function ff_workshopholidayparties_action(element, action)
{
switch (action) {
case 'click':
if(element.checked){
ff_getElementByName('mntworkshophp').value = jQuery('[name="ff_nm_workshopholidayparties[]"]:checked').val();
ff_amountowing_action(element,action);
}
else{
ff_getElementByName('mntworkshophp').value ='';

}
break;
default:;
} // switch
} // ff_workshopholidayparties_action

The destination element of this chosen value is:

mntworkshophp.

There, i put this framework script.


function ff_mntworkshophp_action(element, action)
{
ff_getElementByName('mntworkshophp').value = 0;
{ff_getElementByName('mntworkshophp').value =
jQuery('[name="ff_nm_workshopholidayparties[]"]:checked').val();
}} // ff_Champ_action


Unfortunately it does not work. Can you please look at where is the syntax error ?

It's the first time i'm using this code ...

Thanks a lot for help, hope read you soon.

Best regards.

Marc-André.

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

Next button does'nt work 1 year 3 months ago #238225

  • mihaela
  • Offline
  • Developer
  • Developer
  • Posts: 3128
  • Karma: 105
  • Thanks: 415
Hello,

I am fine, thank you.

I've tested your code on my site and it is working fine for me.

Please check whether you have checked the "Click" checkbox in the Actionscript section of the workshopholidayparties element.

Let me know the result.

Regards,

Mihaela

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

Next button does'nt work 1 year 3 months ago #238229

  • Topic Author
  • maangles
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 20
  • Thanks: 0
Hello Mihaela,
Thanks for reply and happy to know tha teh code is working well yur site. It's not ok here.

Could you have a test with our ID and password on our form (CYM2020) ?

P1:Semaine "HOLIDAY" : checked
chambre individuelle 195€ :cheked

P2: PARTIES PASS HOLIDAY 110€ : selected
JE CHOISIS LE PARTIES PAS HOLIDAY A 110 € : checked
WORK SHOP PARTIES 45 € : selected
2 WORKSHOPS 90 € : checked

P3 : amountowing result
  1. at first the element mntworshophp is not visible
    secondly the result is wrong : 368 + 195 + 110 + 90 = 763 instead of 165 € displayed

Could you look at this please on our backend ?

Thank you very much .

Regards

Marc-André

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

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