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 can I set a variable number of digits without hyphens?

    Asked by myhola on January 31, 2017 at 12:45 PM

    Hi, I created a form to register new member, the "username" is as per member's mobile number. I set the "username" as Unique Question to prevent multiple sign up with the same mobile number. 

    My question is: 

    if one register 0123456789, another use the same number but add hyphen: 012-3456789, there are two accounts created by jotform setting, but actually it is a same number. CAN I SET NUMERIC VALIDATION ONLY WITH HYPHEN EXCLUDED. 

    I try to put masking ##########(10 digits) to avoid hyphen, but the problem is there are different digits of mobile phone in my country, I can't limit the digits. 

    May I know any solution on it?


  • Profile Image
    JotForm Support

    Answered by AIDAN on January 31, 2017 at 02:00 PM

    Hi, thank you for contacting us.

    Please note that it is not possible, using masks, to account for different combinations of digits. The only way I can suggest to work around this is to opt for the form source and introduce this functionality manually.

    If you have more questions or need further assistance, please let us know. Thank you.