Forum Replies Created

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • in reply to: Calculations in 2 different forms #32250
    zittis
    Participant

    Thanks man. You are really great!

    in reply to: Calculations in 2 different forms #32240
    zittis
    Participant

    Here comes Form number 3 with calculations. I have made 2 other forms already that have calculations. The form is here: https://www.gcsc.ac.cy/secondary/examinations-selection-2021/

    But I always get a zero in my calculation.

    I am attaching the code I added in Custom JavaScript.

    Can you pls help me?

    Thank you.

    Attachments:
    You must be logged in to view attached files.
    in reply to: Calculations in 2 different forms #31711
    zittis
    Participant

    Thank you very much

    in reply to: Calculations in 2 different forms #31703
    zittis
    Participant

    Is there a way to disable an option from a select menu (dropdown list)?

    I can do that using radio buttons and check boxes.

    in reply to: Calculations in 2 different forms #31431
    zittis
    Participant

    Thank you very much. Your support rocks!

    in reply to: Calculations in 2 different forms #31350
    zittis
    Participant

    Thanks again very much Ally.

    One more thing please. How can I disable on of the checkboxes options. I don’t want to delete it, just disable it so that the user won’t be able to select it.

    Thanks again.

    in reply to: Calculations in 2 different forms #31293
    zittis
    Participant

    Pls help

    I added this in the html
    <div id=”form-total2″></div>

    Then added this code but still it doesnt work:

    jQuery(function ($) {
    var calculate = function () {
    var total = 0;

    // Week 1
    if ($(‘.quform-field-6_255_1’).is(‘:checked’)) {
    total += 100;
    }
    // Week 2
    if ($(‘.quform-field-6_255_2’).is(‘:checked’)) {
    total += 100;
    }
    // Week 3
    if ($(‘.quform-field-6_255_3’).is(‘:checked’)) {
    total += 100;
    }
    // Week 4
    if ($(‘.quform-field-6_255_4’).is(‘:checked’)) {
    total += 100;
    }
    // Week 5
    if ($(‘.quform-field-6_255_5’).is(‘:checked’)) {
    total += 100;
    }

    // Display the result to the user
    $(‘#form-total2’).text(‘€’ + total);

    // Set the value of the hidden field
    $(‘.quform-field-6_196’).val(” + total);
    };

    // Calculate on page load
    calculate();

    // Recalculate when these checkboxes or radio buttons are clicked
    $(‘.quform-field-6_255_1, .quform-field-6_255_2, .quform-field-6_255_3, .quform-field-6_255_4, .quform-field-6_255_5).click(calculate);

    });

    in reply to: Calculations in 2 different forms #31275
    zittis
    Participant

    Have you manage to have a look at this issue?

    in reply to: Change the textbox value #31220
    zittis
    Participant

    Thank you very much

    in reply to: Edited entries are not being saved #31084
    zittis
    Participant

    I have the same problem. I have sent an email explaining that at info@themecatcher.net

Viewing 10 posts - 1 through 10 (of 10 total)
Be inspired. © 2020 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy