How to deal with numeric field?

  • kokorejo
    Asked on September 18, 2020 at 7:41 AM

    1600428927bandicam 2020 09 18 18 31 46 0 Screenshot 10

    1.How to Automatically add thousand separators as number is input in Numeric Field (Nominal transfer pulsa)

    so the customer will easily recognise the number they input

     

    1600429251bandicam 2020 09 18 18 32 03 4 Screenshot 21

     

    2. Why the comma seperators didnt work? 

  • Sam_G
    Replied on September 18, 2020 at 9:31 AM

    Hi Kokorejo,

    Thank you for contacting Support.

    You can use our widget Masket Input.

    https://widgets.jotform.com/widget/masked_input

    You can also use the form calculation widget instead of the Number field.

    1600434888 5f64b2c805dc7 9 Screenshot 10

    You could use the commaSeparate() function to achieve it, to use it simply click on the options button in the widget wizard: 

    Hope this helps.

    Let us know if you need further assistance.


  • kokorejo
    Replied on September 18, 2020 at 9:48 AM

    1600436897masked Screenshot 10


    they have different position and font of number from basic number field, how to deal with this?

  • Sam_G
    Replied on September 18, 2020 at 11:40 AM

    Hi Kokorejo,

    I have checked the "Type a question field" and it's a short text property.

    Kindly try adding the form calculation widget.

    May we confirm what position you're referring to for a thousand separators?

    For the font, you may add this CSS code:

    .form-label {

      font-family: Inter, sans-serif;

    }

    https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes

    We will wait for your response.