---
title: "Known issue: When editing entries that have conditional calculations, the result may be incorrect"
date: 2026-04-23
author: "GravityKit"
link: "https://www.gravitykit.com/docs/gravityview/common-problems/known-issue-when-editing-entries-that-have-conditional-calculations-the-result-may-be-incorrect/"
---

Suppose your form has one or more fields with conditional logic to control its visibility on the form, AND these fields are used in a calculation. In that case, you might experience a miscalculation when editing that form submission in Gravity Forms or GravityView.

### Here's how this "bug" occurs

 This is a simple form, it contains three Number fields:

![Form editing interface showing fields for two numbers and a total, with a calculation bug context](https://www.gravitykit.com/wp-content/uploads/2025/10/file-RSVo9ZB493.jpg)
*The field "Number 2" should only show up if the value of the field "Number 1" is greater than 5:*![Form settings with admin field label, default value, visibility options, and enabled conditional logic for number fields](https://www.gravitykit.com/wp-content/uploads/2025/10/file-NsyFPebzev.jpg)
*And this field should capture the value of the field "Number 1" with the following calculation rule:*![Field settings for number with calculation enabled and formula input options available](https://www.gravitykit.com/wp-content/uploads/2025/10/file-tJTfqAvJYb.jpg)
*Our "Total" field contains a calculation rule to add the value of the field "Number 1" to the value of the field "Number 2":*![Field settings with labels, number format, and a calculation formula for totals](https://www.gravitykit.com/wp-content/uploads/2025/10/file-LPUkJqwVIa.jpg)

### Now, let's play with the form

 Typing "5" results in a total of "5", which is correct since "5" is not "greater than 5" as we specified in our conditional logic for the field "Number 2":

![Form showing incorrect calculation: Total does not change from input number 1. Submit button below](https://www.gravitykit.com/wp-content/uploads/2025/10/file-KBS66mJueL.jpg)
*Typing 6 in the field "Number 1", results in the field "Number 2" showing up with the value of the field "Number 1":*![Form showing incorrect total of 12 for inputs 6 and 6, indicating a calculation bug](https://www.gravitykit.com/wp-content/uploads/2025/10/file-8Egxl9J3WH.jpg)
*Okay, everything is working as expected. So, let's get back to typing only "5" in the "Number 1" field and submitting the form*![Editing interface showing calculation error; entry #11364, Number 1 is 5, Total is 5](https://www.gravitykit.com/wp-content/uploads/2025/10/file-CwhPA8KNtA.jpg)
*That's our entry (form submission). Now, on that same very page, let's just click on the "Edit" button and then on the "Update" button, which will show up without touching the values in the fields:*![Entry form, leave "Number 2" blank; click "Update" to avoid calculation error in conditional calculations](https://www.gravitykit.com/wp-content/uploads/2025/10/file-uaNMO59lfU.jpg)
*And here's the outcome:*![Calculation entry showing "Number 1: 5," "Number 2: 5," with a "Total" of 10](https://www.gravitykit.com/wp-content/uploads/2025/10/file-A0KY2JTToq.jpg)
*As we can see, the conditional logic for the field "Number 2" is completely ignored by Gravity Forms on this page. The same will happen when editing this same entry on GravityView*