Errors in the calculation

  • enetknowhow
    Asked on April 19, 2016 at 11:11 AM

    errors in the calculation. partly incorrect calculation or without comma

    Jotform Thread 821958 Screenshot
  • BJoanna
    Replied on April 19, 2016 at 12:13 PM

    I have tested your form and I was not able to replicate mentioned issue. Calculation inside of your form is correct and commas are shown for decimal point. 

    Errors in the calculation Image 1 Screenshot 30

    It seems that you were able to resolve your issue, by checking "Use commas for decimal point" option inside of Form Calculation widget.

    Errors in the calculation Image 2 Screenshot 41

    In case that you have issues with your embedded form, please provide us URL of your website, so that we can test your form there.

    Let us know if you need further assistance.

  • enetknowhow
    Replied on April 20, 2016 at 4:27 AM

    thank you. I changed the field against a calculation field. That worked

     

  • enetknowhow
    Replied on April 20, 2016 at 4:33 AM

    but I still have a problem. the "Verbreiterung Höhe Z" field has a value of 2 (click same option you can see sreenshort). Now I'm trying to take this field value in a calculation, field VHZO or VHZ1. The value is not accepted. Why?

     

    Errors in the calculation Image 1 Screenshot 20

  • Charlie
    Replied on April 20, 2016 at 5:41 AM

    You do not have any conditional logic that will insert a value in "Verbreiterung Höhe Z". What you have is that you are setting a mask in that field, however, it seems incorrect. You are setting numbers like "0",

    Errors in the calculation Image 1 Screenshot 30

    You can hover on the "i" in the conditional logic in the mask option to see what the mask function does:

    Errors in the calculation Image 2 Screenshot 41

    Basically you are trying to set a character restriction and formatting in the input field. Here's a guide about basic input mask: https://www.jotform.com/help/358-How-to-Set-Content-Mask-on-a-Form-Field-Based-on-Another-Field-Input 

    Example:

    If I want the a text box to have a telephone format of +149-000-1111

    Then I need to set an input mask like this:

    +###-###-###

    This means the input is automatically formatted. 

     

    If you want to assign a value on the field "Verbreiterung Höhe Z", you need to use the "Insert" function in the condition, not "Set Mask".

    I'm not sure what input value are you really passing, should it come from "Zw. Überg. GK ID"? Or you have a specific number needed to insert in the specific text box field?

    We'll wait for your response.

  • enetknowhow
    Replied on April 20, 2016 at 7:10 AM

    Thanks :)