Conditional Logic ‘Calculate Field Value’ Setting Not Retaining on When Saved

  • mareemehmet
    Asked on May 29, 2025 at 3:34 AM

    I notice when creating conditional logic that when selecting Do as "calculate field value", and saving... unfortunately when I re-open to edit it has defaulted to "copy field value". It won't remain on the selection I chose i.e., calculate field value. This seems to be a system bug.

    Form ID: 251460823686058 and Form ID 251481646006858

    HISTORY:

    I'm creating a 15-question quiz, where each of the single-choice answers, of which there are 7 answers per question, corresponds to one of 7 result "types". I want hidden calculations to determine a total tally across each of 7 types. WHATEVER answer selection a user makes to 15 questions will belong to one of these 7 types. (There are no right or wrong answers.)

    First, I tried creating 105 items of conditional logic (15 questions x 7 answer options) using the formula <field> + 1 calculating against every answer response. But Jotform does NOT allow me to directly reference the "SUMMARY" field within its own "FORMULA" box in the same condition.

    So instead, I am creating intermediate calculations, and conditional logic to transfer values. See here:

    Condition for Q1_Selected_Value:

    • IF: Question 1
    • STATE: Is Filled (or Is Not Empty)
    • DO: Calculate a field's value
    • SUMMARY: Q1_Selected_Value (select this new hidden field)
    • FORMULA: {Question 1} (Select Question 1 from the "Add Field" list. This will copy its Calculation Value.)
    • Click "SAVE".


    However, it seems the conditional logic field for "Do" has a bug. DO: defaults to Copy field value


  • Podo: Support AI Agent
    Replied on May 29, 2025 at 3:35 AM

    Hi Maree,

    Thanks for sharing the details about the issue with the conditional logic 'Do' field defaulting to "Copy field value" instead of saving as "Calculate field value." This behavior is recognized as a system bug in Jotform's conditional logic settings.

    To work around this, please ensure you are using the latest version of the Form Builder, and try clearing your browser cache or using a different browser to see if the issue persists. If it continues, consider breaking down your calculations into intermediate steps as you are doing, which is a good approach given the current limitations.

    We appreciate your detailed explanation and your patience while this is being addressed.

    Let us know if you need further assistance.

  • mareemehmet
    Replied on May 29, 2025 at 3:37 AM

    I'm using web, so I would assume it's the latest version of Form Builder?

  • Podo: Support AI Agent
    Replied on May 29, 2025 at 3:37 AM

    Hi Maree,

    Yes, using the web version means you are on the latest Form Builder version. If the issue persists, trying a different browser or clearing your cache might help as a temporary workaround.

    Thanks for your patience.

  • Adrian Besilla JotForm Support
    Replied on May 29, 2025 at 3:38 AM

    Hi Maree,

    Thanks for reaching out to Jotform Support. Allow me some time to look into this. I'll get back to you as soon as I can.

    Let us know if you have any other questions.

  • Adrian Besilla JotForm Support
    Replied on May 30, 2025 at 5:49 AM

    Hi Maree,

    I checked your form conditions again, and I see they’re all set to Calculate field value as you originally chose. Can you confirm if your form's condition setting is now saving correctly on your end? If so, this was perhaps a temporary issue.

    For now, I cleared your form caches to refresh your data and to help your forms work faster and efficiently. Try also to clear your browser's cache to refresh the page and to speed up the page loading process. If the issue happens again, I suggest trying to open Jotform in different browsers, such as Firefox, Edge, Safari, or Incognito mode to rule out any browser-related conflicts.

    Keep us updated and let us know if you need any more help.

  • mareemehmet
    Replied on May 31, 2025 at 9:38 PM

    No, the error is the same. Unfortunately clearing form cache did not work.

  • Myla JotForm Support
    Replied on May 31, 2025 at 10:12 PM

    Hello Maree,

    If I understood it correctly, you add condition to calculate the value for the single choice element however, when going back to the condition it shows copy and not calculate? If so, this is a normal behavior if your field element has a calculation values: Conditional Logic ‘Calculate Field Value’ Setting Not Retaining on When Saved Image 1 Screenshot 30

    Technically, the Update/Calculate Condition either copies value or calculates it: Conditional Logic ‘Calculate Field Value’ Setting Not Retaining on When Saved Image 2 Screenshot 41

    If you add fields to it without a formula to calculate (functions) it will only copy the value. Unless, you are calculating an outcome for that specific field. Nevertheless, the intended output still happens if you are trying to get the value you set of that certain field.

    That's it. Let us know if you have any other questions.

  • mareemehmet
    Replied on May 31, 2025 at 10:43 PM

    I was trying to implement an approach suggested by AI to calculate results for my quiz. If this above method doesn't work, perhaps you can suggest the best way instead?

    Each of my quiz's 15 questions, in a single-choice format, have 7 possible answers. Each answer needs to be counted as 1 point towards the total against 7 answer "types".

    So in others words, for question 1 if someone chooses:

    • answer 1 = "Classic" type -> 1 point towards calculation total Classic score
    • answer 2 = "Relaxed" type -> 1 point towards calculation total Relaxed score
    • answer 3 = "Dramatic" type -> 1 point towards calculation total Dramatic score
    • answer 4 = "Creative" type -> 1 point towards calculation total Creative score
    • answer 5 = "Rebellious" type -> 1 point towards calculation total Rebellious score
    • answer 6 = "Feminine" type -> 1 point towards calculation total Feminine score
    • answer 7 = "Elegant Chic" type -> 1 point towards calculation total Elegant Chic score

    This same logic must apply to all remaining 14 questions.

    I tried creating 105 conditional logic items (per attached image as example). Then I created 7 conditional logic items to determine the highest of these 7 scores.

    I tested the form, fully filling out. But it only counted against a result (i.e., Style Personality) the once. See image. Only calculating one mark against a Style Personality. And of course the highest score calculation result didn't work.

    What am I doing wrong? Is my conditional logic incorrect?

    But honestly, I'm not a developer so I could be getting confused. So perhaps can you recommend the best way to set up this quiz's calculation and results?

    Thank you!


    Conditional Logic ‘Calculate Field Value’ Setting Not Retaining on When Saved Image 1 Screenshot 20

  • Mary JotForm Support
    Replied on May 31, 2025 at 10:53 PM

    Hi Maree,

    I will need more time to look into this, I will get back to you with an update.

    In the meantime, let us know if you have any other questions.

  • Mary JotForm Support
    Replied on June 1, 2025 at 6:17 AM

    Hi Maree,

    First, you need to add 7 Form Calculation Widgets to get the value of each of the answers:

    Conditional Logic ‘Calculate Field Value’ Setting Not Retaining on When Saved Image 1 Screenshot 40

    Then create an Update/Calculate condition for each answer:

    Conditional Logic ‘Calculate Field Value’ Setting Not Retaining on When Saved Image 2 Screenshot 51

    After that, you can get the Total of all the selected answer per question. Here is a sample calculation:

    Conditional Logic ‘Calculate Field Value’ Setting Not Retaining on When Saved Image 3 Screenshot 62

    From there, you will be able to get the Total of each of the answer selected in each question.

    Give it a try and let us know how it goes.


  • mareemehmet
    Replied on June 2, 2025 at 1:39 AM

    Hi,

    Could I check if I must add 7 Form Calculation Widgets PER QUESTION? Or is it just the 7 for the whole quiz? There is a cap on the number of form widgets added.

    Thank you.

  • Jessica JotForm Support
    Replied on June 2, 2025 at 3:31 AM

    Hi Maree,

    Since you have 7 types of result, you'll need to add 7 Form Calculation widgets per question. When the respondent selects a specific option from a question, a point will be added into that type. At the end of all questions, you can add another Form Calculations to calculate the points for each of the type.

    Let us know if you need more help.

Your Reply