Input masking for phone numbers without defining exact length

  • eiermann
    Asked on November 5, 2016 at 10:07 PM

    Hi there,

    I just looked at the article of input masking but I couldn't find a way to do the following:

    I need a field for phone numbers. But phone numbers are not all the same length.
    I wanted to force a plus at the beginning but not force a certain length for the number. 
    How can I do that? For example it should be possible to have:

    1. +62817971033

    2. +491797558367

    3. +81553886997155

     

    As you can see each number has a different length. What can I do to make this work with the input mask?

     

    Cheers,

    Chris

    Jotform Thread 983103 Screenshot
  • BJoanna
    Replied on November 6, 2016 at 10:14 AM

    You can achieve that by adding plus sign in front of mask inputs inside of Mask Value option. And if you do not want to force a certain length for the number uncheck Fill Mask Validation option.

    Input masking for phone numbers without defining exact length Image 1 Screenshot 20

    Here is my cloned form: https://www.jotformpro.com/form/63104435722953 

    Feel free to test it and clone it

    Hope this will help. Let us know if you need further assistance.