What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How do I replace comma from calculation with a decimal

    Asked by samiaharoon11916 on May 24, 2017 at 02:10 AM

    Hello:

     

    My results from my calculation widget are showing up as 4,000,00 and not 4,000.00.  I tried to pinpoint from the source code but couldn't figure out in how to change this.  I saw a thread where you addressed the solution, but seems like it's protected for the user only, I'm guessing.

     

    Also, is there a way to disable page views if I am in preview mode.  There should be a beta version like in Mailchimp to run these in test mode.  

     

    Thanks,

    Samia Haroon

    Screenshot
  • Profile Image
    JotForm Support

    Answered by BJoanna on May 24, 2017 at 04:59 AM

    I was able to make this work, but I had to perform calculation a but differently. 

    I have added calculation field that I used to perform calculation for Medicare Part B Revenue and Reporting Year fields. Then I have added that field inside of commaSeparate function to other two fields. 

    Currently a dot can not be added as separator for decimals inside of Version 4 of our Form Builder, so I had to use Version 3 of our from Builder. 

    Here is my demo form: https://form.jotform.com/71431758371963 

    Feel free to clone it and test it. 

    You can switch back to Version 3 on settings page of your account. 

     

    Hope this will help. Let us know if you need further assistance.