TOPIC:

Use BreezingForms to build a simple quiz and display results? 3 weeks 1 day ago #256209

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

I can't install your form.
Could you please try again?

Go to BF->Configuration->Create Package->from Form Selection select only this one form->click on continue->zip xml file and post it here

Regards,
Tihana

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

Use BreezingForms to build a simple quiz and display results? 3 weeks 1 day ago #256213

  • rarroso
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 10
  • Thanks: 0
Ready
Attachments:

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

Use BreezingForms to build a simple quiz and display results? 3 weeks 12 hours ago #256245

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

like this:
if(Number(ff_getElementByName('resultado').value) >= 8 ) {
ff_getElementByName('evaluacion').value='Pasaste';
}
else {
ff_getElementByName('evaluacion').value='Reprobaste';
}

The whole code looks like:
function ff_evaluacion_uno_init()
{ setInterval(calc, 500);
} // ff_evaluacion_uno_init

function calc() {
ff_getElementByName('resultado').value = Number(jQuery('[name="ff_nm_primero[]"]:checked').val()) + Number(jQuery('[name="ff_nm_segundo[]"]:checked').val())+Number(jQuery('[name="ff_nm_tercero[]"]:checked').val())+Number(jQuery('[name="ff_nm_cuarto[]"]:checked').val())+Number(jQuery('[name="ff_nm_quinto[]"]:checked').val());

if(Number(ff_getElementByName('resultado').value) >= 8 ) {
ff_getElementByName('evaluacion').value='Pasaste';
}
else {
ff_getElementByName('evaluacion').value='Reprobaste';
}
}

Let me know if you need anything else

Regards,
Tihana

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

Use BreezingForms to build a simple quiz and display results? 3 weeks 4 hours ago #256296

  • rarroso
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 10
  • Thanks: 0
Hi Tihana

Again, thank you very much. Works great.

Greetings.

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

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