TOPIC:

Can I have field based calculation using Breeze forms 11 months 3 weeks ago #274814

  • DSFCosta Rica
  • Offline
  • New Member
  • New Member
  • Registered
  • Posts: 16
  • Thanks: 0
I really, really need help :-(

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

Can I have field based calculation using Breeze forms 11 months 3 weeks ago #274818

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Registered
  • Posts: 12079
  • Thanks: 786
Hi,

np, but could you please explain a little better to me ?

If CredidPuntos shows Aprobado and GAMPuntos shows Aprobado and CuotaPuntos shows Aprobado then Puntaje should show Aprobado too. Am I right?

Regards,
Tihana

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

Can I have field based calculation using Breeze forms 11 months 3 weeks ago #274822

  • DSFCosta Rica
  • Offline
  • New Member
  • New Member
  • Registered
  • Posts: 16
  • Thanks: 0
Yes thats right!

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

Can I have field based calculation using Breeze forms 11 months 3 weeks ago #274823

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Registered
  • Posts: 12079
  • Thanks: 786
Hi,

please test it

Regards,
Tihana

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

Can I have field based calculation using Breeze forms 11 months 3 weeks ago #274824

  • DSFCosta Rica
  • Offline
  • New Member
  • New Member
  • Registered
  • Posts: 16
  • Thanks: 0
Great just one more question how can I create another Scenario?

function ff_Puntaje_action(element, action)
{
switch (action) {
case 'change':
if(ff_getElementByName('CredidPuntos').value=="Aprobado" && ff_getElementByName('GAMPuntos').value=="Aprobado" && ff_getElementByName('CuotaPuntos').value=="Aprobado" ) {
ff_getElementByName('Puntaje').value="Aprobado";
}
break;
default:;
} // switch
} // ff_Puntaje_action

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

Can I have field based calculation using Breeze forms 11 months 3 weeks ago #274825

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Registered
  • Posts: 12079
  • Thanks: 786
Hi,
function ff_Puntaje_action(element, action)
{
switch (action) {
case 'change':
if(ff_getElementByName('CredidPuntos').value=="Aprobado" && ff_getElementByName('GAMPuntos').value=="Aprobado" && ff_getElementByName('CuotaPuntos').value=="Aprobado" ) {
ff_getElementByName('Puntaje').value="Aprobado";
}
else if {
//your code here
}
break;
default:;
} // switch
} // ff_Puntaje_action
And then call this function in each fields which you want.
E.g. you can see that I call this function in CredidPuntos, GAMPuntos, CuotaPuntos->Advanced->actionscript.
I hope you understand what I am talking about

Regards,
Tihana
The following user(s) said Thank You: DSFCosta Rica

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

Last edit: Post by tihana.krivic.
Time to create page: 0.062 seconds

Support Chat

Join our Discord chat and enter the Crosstec channels for live-support, chat forums and interact directly with the community!

After joining, please enter the Crosstec Area and use the #crosstec-support or #crosstec-general channels.

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

Subscribe to news and updates!

Special Offer

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!

Live Support Chat Opened!

Join our Discord chat here and enter the Crosstec channels to receive live support and talk directly to the team!