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 to remove underscores in phone field submissions?

    Asked by eiermann on December 11, 2016 at 09:55 PM

    Hi there,

     

    I am using the phone field with input mask (fill mask validation unchecked) in this form here.

    Now the form submissions contain underscores after all phone numbers. Is there a way to avoid it?

    I need to use the input mask and I don't want to force a certain length for the phone number. 

     

    Looking forward to your reply. 

     

    Cheers,

    Chris

    Screenshot
  • Profile Image
    JotForm Support

    Answered by Chriistian on December 12, 2016 at 12:40 AM

    Unfortunately the underscore serves as a placeholder for the input mask before the user inputs any value in the field. Because of this, it is not possible to remove them from the field without turning off the input mask.

    A possible workaround I can suggest would be to use the Masked Input widget instead. This widget is automatically formats the numbers that are entered in your form, so it doesn't need to have an underscore like the masked input feature. You can check out the demo form here: https://form.jotform.com/53549556003961 

    Please let us know if you need further assistance.
    Regards.

  • Profile Image

    Answered by eiermann on December 12, 2016 at 01:30 AM

    Hi Chriistian,

     

    thanks for the reply. I tried that but I couldn't make it work for phone numbers. It seems to be more suitable for money values.

     

    Cheers,

    Chris

  • Profile Image
    JotForm Support

    Answered by Chriistian on December 12, 2016 at 02:08 AM

    Hi,

    I tried the Mask Input widget for the Phone number field and it appears like this:

     

    In this, I was able to get rid of the underscore but to replace the spaces (as what appears on money values) I need to put a number value in the widget settings:

    Hope this helps.

    Let us know, if you need further assistance.
    Regards

     

  • Profile Image

    Answered by eiermann on December 12, 2016 at 04:07 AM

    Oh I see! Thanks a lot! Working now!

  • Profile Image
    JotForm Support

    Answered by Chriistian on December 12, 2016 at 04:13 AM

    Hi,

    Glad it worked now. If you have other concerns, please let us know.

    We'll be happy to assist you.
    Regards