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.
How to remove underscores in phone field submissions?Asked by eiermann on December 11, 2016 at 09:55 PM
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.
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.
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.
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.
Oh I see! Thanks a lot! Working now!
Glad it worked now. If you have other concerns, please let us know.
We'll be happy to assist you.