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

    Have decimal point automatically placed when numbers are entered into a Text Box field.

    Asked by sixtowns on October 30, 2014 at 09:17 AM

    Apologies for all these questions, is it possible to have a decimal point in these fields, without manually inputting one as you type?

    decimal places calculation
  • Profile Image
    JotForm Support

    Answered by jonathan on October 30, 2014 at 10:00 AM

    Hi,

    You can have the output converted to have decimal places by using Calculation. 

    Example, you can multiply the input value by 1.00 and it will have 2 decimal places as a result.

    Something like this http://form.jotform.me/form/43022559404449?

     

    the calculation formula is just like this

     

    You can just hide the original input and show the with decimal output to make it more precise.

    OR just hide the with the decimal output and just show only the total result as the one that have decimal values.

    Hope this help. Inform us if you need further assistance.

    Thanks.

     

  • Profile Image

    Answered by sixtowns on October 30, 2014 at 04:53 PM

    Hi, perhaps I didn’t make my original question clear; I want the field circled in GREEN to display numbers with the decimal point, as you type.  In effect I would like the field to display numbers in the same way the field you have circled in red.

  • Profile Image
    JotForm Support

    Answered by KadeJM on October 30, 2014 at 05:17 PM

    If you look at my colleague's example it already has a decimal placed into it.

     

    You said that's incorrect so did you maybe mean that you wanted the decimal to be placed automatically when numbers are entered into that field then? Is that what you meant instead? 

    You could use a mask input on the textbox. However, you'd still need to specify where you want it.

    Example - http://form.jotformpro.com/form/43026935599971 

     

  • Profile Image

    Answered by sixtowns on October 30, 2014 at 05:26 PM

    Hi, yes I wanted the decimal to be placed automatically when numbers are entered into that field then. However I see you have used the input mask, please see this thread - http://www.jotform.com/answers/451153-Masked-Input-Widget-wrong-Decimal-points-placement#5

  • Profile Image
    JotForm Support

    Answered by BDAVID on October 30, 2014 at 05:51 PM

    Other that my colleagues's workarounds to have decimals on the text boxes fields, I think that there is no other way to accomplish this with the current features. If you want to, we could raise a ticket request to our second level to have this option available, if approved, we could not provide you an estimated time for the implementation. Let us know if you would like us to request this.

  • Profile Image

    Answered by sixtowns on October 30, 2014 at 05:54 PM

    Please if you can raise a ticket, I’d really like to make this form available asap.

    thanks

  • Profile Image
    JotForm Support

    Answered by BDAVID on October 30, 2014 at 06:09 PM

    The ticket request has been raised to our Dev team, you will be updated in this thread.

  • Profile Image

    Answered by sixtowns on November 05, 2014 at 06:17 AM

    Hi, any updates on this?

  • Profile Image
    JotForm Support

    Answered by jonathan on November 05, 2014 at 07:28 AM

    Hi,

    Unfortunately there is no updated response yet from our dev team. 

    I also would like to inform you that this feature request is not among on the high priority lists.

    So, it may take some time before our development can really attend to this.

    Another solution I can suggest by using the form's full source code and then add custom functionality using scripts that will auto format the input data (in this case numeric input using real data type)

    Thanks.

  • Profile Image

    Answered by sixtowns on November 05, 2014 at 08:40 AM

    and what do I do with the code?

  • Profile Image
    JotForm Support

    Answered by jonathan on November 05, 2014 at 08:53 AM

    When using the form's full source code, you can add custom script that can influence the output or format of input data.

    Please refer to this article for the idea. Here is the demo from that article.

    Is there a way for you to embed the form using its full source code? You will need to host it on your own website. So, the main requirement is also to have a website where you can embed the form using its full code.

    Hope I was able to explain it more clearly this time. Inform us if you need further assistance.

    Thanks.

     

  • Profile Image

    Answered by sixtowns on November 05, 2014 at 09:03 AM

    Thanks, but a little too complicated for a non techie like me.

  • Profile Image
    JotForm Support

    Answered by Charlie on November 05, 2014 at 09:57 AM

    Hi,

    It seems that you will have to wait for an update with our developers or technical team regarding this matter. I believe my colleagues have presented a number of workarounds. And it seems that editing the source code is not an option, but if you have decided to try it, we'll be glad to help you in every step of the way. 

    Thank you.

  • Profile Image

    Answered by sixtowns on November 05, 2014 at 10:08 AM

    The mobile response widget has a bug which is awaiting a fix, the workarounds your colleagues have suggested are only half measures and do not fully solve the issue. 

  • Profile Image
    JotForm Support

    Answered by Charlie on November 05, 2014 at 10:17 AM

    Hi,

    I understand and I do apologize for the inconveniences that this might have caused you. This has been already escalated to our developers, rest assure that they are aware of this matter. You will receive an update when they found a solution.

    Regards.