TOPIC:

Calculating Radio Values 3 weeks 6 days ago #250116

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

yep. I will test this, and look what I can do :)

Regards,
Tihana

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

Calculating Radio Values 3 weeks 6 days ago #250118

  • Topic Author
  • thcinc
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 16
  • Thanks: 0
Thank you so much for you help.

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

Calculating Radio Values 3 weeks 5 days ago #250133

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

I was able to access to your page, finally :D

I added copy of your "main" form.
In this form I added page and in this page textfiled which represents all sections sum.
In this textfield->Advanced->Actionscript->check Custom->check Click->I added:
function ff_ALLSECTIONSsum_action(element, action)
{
    switch (action) {
        case 'click':
ff_getElementByName('ALLSECTIONSsum').value=Number( ff_getElementByName('SLFAWsum').value)+Number( ff_getElementByName('SLFMAsum').value)+ Number( ff_getElementByName('SOCAWsum').value)+Number(ff_getElementByName('RELMAsum').value) + Number(ff_getElementByName('LEAORsum').value) ;
            break;
        default:;
    } // switch
} // ff_ALLSECTIONSsum_action
When you test this, and you get to that textfield, you need to click on it and then the sum of all the sections will be shown

Please test this, and get back to me, if this is ok solution for you.
If yes, I can do this on your "main" form.

I am waiting for your feedback :)

Regards,
Tihana

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

Last edit: Post by tihana.krivic.

Calculating Radio Values 3 weeks 5 days ago #250163

  • Topic Author
  • thcinc
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 16
  • Thanks: 0
Hi,
Thank you so much for helping me with this.
The only issue our client will have is that the totals need to be hidden from the user.
The user's totals are strictly for their backend data gathering so adding the click to generate the total will be an issue for them.
Sorry to be a pain in the arse...:dry:
I really appreciate your help.
Thanks again

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

Calculating Radio Values 3 weeks 5 days ago #250164

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

solved. I do this on your page. Please check.
In init script I added additional function calc() and this solved the problem.

If you need more help, please let me know

Regards,
Tihana

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

Time to create page: 0.049 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!