Format numbers field by using comma separator

  • jw311
    Asked on July 19, 2018 at 11:37 AM

    HI guys,


    I am getting there with my form but have a questions...when I pass conditional values in the form numbers never have commas in them.  In particular for dollars, how can we format so the commas show up



    Jotform Thread 1529320 Screenshot
  • roneet
    Replied on July 19, 2018 at 12:44 PM

    There are two ways doing this.

    1. You can use our widget Masket Input.

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

    Refer this cloned version of form:

    https://form.jotform.com/81994613317968

    2. You can also use Form Calculation widget. It has inbuit commaSeparate() function in it. You can use it.

    Format numbers field by using comma separator Image 10

    Hope it helps!

    Thanks.

  • jw311
    Replied on July 19, 2018 at 3:41 PM

    Hmmm tried it  but it didn't ouput  


    here is what I have   It only ouptuts the $  

    1532029259comma sepearte no work Screenshot 10

  • Jed_C
    Replied on July 19, 2018 at 5:06 PM

    Try replacing the field with a form calculation widget instead of using a regular short text entry field. I just tried this from my end and it works.

    1532034378comman separate Screenshot 10

    Looking forward for your response.