How can I add decimal points to a field in my form?

  • Profile Image
    pbfit
    Asked on August 12, 2018 at 10:19 PM

    Hi, I have a basic collection form that I have clients completing in order to send me information frequently. one of the fields that I request is their weight and I really need them to be able to submit incomplete numbers i.e. 54.3 kg however the input will only allow them to submit whole numbers. Is there a way to fix this?

  • Profile Image
    Randy
    Answered on August 13, 2018 at 04:55 AM

    I checked your form and cloned it to my account and I made some adjustments on my form to show you. Now I'm able to take inputs as you desired.

    I saw that you used the Masked Input widget on your form.

    In this example, I just adjusted the Previous Body Weight section.

     

    1534149975Screen Shot 2018-08-13 at 11.4

    For making this able you should adjust your widget settings. 1534150153Screen Shot 2018-08-13 at 11.4

    From the opened section from right, you should adjust the Number Precision option to 1.

    Also, I adjusted the default value to 600.

    1534150234Screen Shot 2018-08-13 at 11.4

    As I said now I'm able to take decimal inputs as you desired.

    After doing that, if you still have a problem with it please let us know.