Input masking for phone numbers without defining exact length

  • Profile Image
    eiermann
    Asked on November 05, 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

  • Profile Image
    BJoanna
    Answered on November 06, 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.

    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.