Los cálculos no funcionan correctamente

  • cambiosrrcambios
    Fecha de consulta 4 de marzo de 2025, 15:41

    Ejemplo tengo la cantidad que necesito enviar y quiero que me de un resultado atraves de condiciones pude lograrlo pero a su vez también quiero saber que en función del resultado saber que cantidad quiero enviar



  • Adrian Besilla Jotform Support
    Fecha de respuesta 5 de marzo de 2025, 2:24

    Hi cambiosrrcambios,

    Thanks for reaching out to Jotform Support. Our Spanish Support agents are busy helping other Jotform users right now, so I'll try to help you in English using Google Translate, but you can reply in whichever language you feel comfortable using. Or, if you'd rather have support in Spanish, let us know and we can have them do that. But, it might take a while until they're available again.

    Now, coming back to your question, if you’ve already set up conditions to calculate a result based on the amount you want to send, you can also create additional conditions to automatically determine the exact amount to send based on that result.

    In Jotform, you can do this by using the Update/Calculate Field condition. For example, if your form calculates a total, you can set conditions so that if the total exceeds a certain amount, a different value is populated in another field. Let’s say if the total is greater than 500, you want to send 550 instead, you can set a condition to check the calculated result and update the amount field accordingly. This way, your form dynamically adjusts the amount to send based on your criteria. Can you explain a bit more so we can help you set that up in your form?

    Once we hear back from them, we'll be able to move forward with this.

  • cambiosrrcambios
    Fecha de respuesta 5 de marzo de 2025, 9:22

    Por ejemplo tengo estas condiciones;

    Quiero que esten conectadas entre si las condiciones pero al intentarlo llenar en modo vista previa no deja,

    Si coloco una cantidad en Bs a recibir debería darme un resultado en cantidad a enviar

    Si coloco un monto en cantidad a enviar debería darme un resultado en Bs a recibir.


    Los cálculos no funcionan correctamente Image 1 Screenshot 30

    Los cálculos no funcionan correctamente Image 2 Screenshot 41

  • Eliza Jotform Support
    Fecha de respuesta 5 de marzo de 2025, 12:26

    Hi cambiosrrcambios,

    I cloned your form and was able to replicate the issue. It doesn't allow me to enter numbers into the Cantidad a enviar field. When I checked the conditions, I saw that it's because two of them need to be corrected. Let me show you how to fix that:

    1. In Form Builder, click on the Settings in the orange navigation bar at the top part of the page.
    2. Select the Conditions from the menu on the left.
    3. Under Conditions, hover your mouse over the second Conditions template, and click on the Pencil icon to edit it.
    4. Change the Strings to Numbers by clicking on them one-by-one, and click on Save at the bottom.

    Los cálculos no funcionan correctamente Image 1 Screenshot 40

    You can do the same for the fourth conditions you have.

    Los cálculos no funcionan correctamente Image 2 Screenshot 51

    Now, going back to the issue of the calculation, it looks like the last two sets of conditions are causing the conflict to the first three sets of conditions, which is shown in the screenshot below:

    Los cálculos no funcionan correctamente Image 3 Screenshot 62

    Can you tell us a bit more about how the calculation should go between these two fields?

    Once we hear back from you, we'll be able to help you with this.

  • cambiosrrcambios
    Fecha de respuesta 5 de marzo de 2025, 13:58

    Si porque también quiero que el calculo sea viceverza, colocando un número en "Bs a recibir" me de un resultado en "cantidad a enviar"

  • Aries Jotform Support
    Fecha de respuesta 5 de marzo de 2025, 19:01

    Hi changes changes,

    I’ll need a bit of time to look into this. I’ll get back to you as soon as I can.

  • Aries Jotform Support
    Fecha de respuesta 6 de marzo de 2025, 15:17

    Hi changes changes,

    Unfortunately, the bidirectional calculation is causing a conflict because both fields depend on each other, leading to conditions overriding one another, which results in the fields being cleared.

    Let us know if you have any other questions.

Su respuesta