How to validate postal code and number for phone number?

  • Dollardynamics
    Asked on June 18, 2018 at 2:26 AM

    Hi, in your single question forms I have been trying to validate a number field to ensure a certain amount of numbers are entered.


    For example 10 for phone numbers (mobile) and 4 for postcodes.


    I can use the "set limit entry" in the advanced settings but it doesn't seem to work because to ensure 10 digits, for example, it has to be set at 10 min and 10 max. 

    Please enlighten me. 

    thanks
    R

  • Nik_C
    Replied on June 18, 2018 at 5:43 AM

    Could regular phone number field with mask work for you?

    For example:

    1529314940Capture Screenshot 10

    You can check how it works here:

    https://form.jotform.com/81682121219957

    Let us know how it works.

    Thank you!


  • Dollardynamics
    Replied on June 18, 2018 at 6:03 AM

    No, we tried that and it doesn't ensure poeple enter all their numbers. We used that originally thinking it would do just that and ended up with a lot of missing numbers.

    We then just went to a number form and tried the min and max limits and discovered the above problem.

    I am surprised this hasn't come up as an issue, or that it hasn't been thought about as it seems pretty standard.

    What other solutions do you have?

  • Victoria_K
    Replied on June 18, 2018 at 9:37 AM

    Hello,

    Unfortunately, we do not have an option to require min amount of characters to be inputed at the moment. I will escalate a feature request on your behalf and as soon as we get such option, we will inform you via this thread.

    Thank you for your suggestion.

  • Dollardynamics
    Replied on June 18, 2018 at 6:12 PM

    Okay- I thought I must be missing something as it seems such an obvious feature for a form.

    We're getting about 10% where people are missing numbers and we've found half of those are accidental, so be great for this feature to be added.

    thanks, R

  • David JotForm Support
    Replied on June 18, 2018 at 6:30 PM

    A feature request has been forwarded.  If there is any progress with this request, we will update this thread.