- eiermannAsked 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.
- JotForm SupportChriistianAnswered 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.
- eiermannAnswered on December 12, 2016 at 01:30 AM
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.
- JotForm SupportChriistianAnswered on December 12, 2016 at 02:08 AM
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.
- eiermannAnswered on December 12, 2016 at 04:07 AM
Oh I see! Thanks a lot! Working now!
- JotForm SupportChriistianAnswered on December 12, 2016 at 04:13 AM
Glad it worked now. If you have other concerns, please let us know.
We'll be happy to assist you.