Country Code widget - submitted data are not shown on submission page if less than 9 digits are entered

  • kongyj88
    Asked on January 14, 2016 at 11:33 PM

    Hi team,

     

    Recently i have started using the telephone picker widgets such as the "country code", however for my country, Singapore, the required minimum number input is 8 digits instead of 9 digits.

     

    may i know how to change that value?

     

    Thank you,

    kong

  • BJoanna
    Replied on January 15, 2016 at 4:12 AM

    Unfortunately it is not possible to change minimum number input to 8 inside of Country Code widget.

    I made some tests and I saw that submitted data will not be shown on submission page if only 8 digits are entered. 

    You can use International Telephone Picker widget instead.

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

  • BJoanna
    Replied on January 15, 2016 at 4:21 AM

    I will also escalate to our developers, that data are not shown on submission page when only 8 digits are entered, when using Country Code widget.

    Once this issue is resolved we will inform you via this thread.

    For now as workaround you can use International Telephone Picker widget.

  • kongyj88
    Replied on January 15, 2016 at 5:40 AM

    Hi joanna, 

    i think you have misunderstood my question, the issue with the widget is, when you set it to required, the minimum number of digits you are required to enter is 9 digits, whereas in singapore the minimum required number of digits for a contact number is 8.

    However when you set it to not required, the widget is able to accept 8 digits or lower.

    May i know how to solve this issue.

     

    With respect to international telephone picker widget you are talking about, i have tried them, however they do not have minimum number of digits specified for each country, at the same time, the widget does not validate numerical characters only.

    Which makes it very easy for users to spam long strings of characters, be it special symbols, alphanumeric, cyrillic etc, which i find it very undesirable.

    Please kindly advise if there is a solution to this as well.

     

    Thank you.

  • BJoanna
    Replied on January 15, 2016 at 8:00 AM

    Considering that widget on your form is not required, when I tested the widget it was unrequired. I have now set it to be required and I was not able to submit the form if less than 9 digits are entered inside of Country Code widget field. 

    However if widget is not required and if less that 9 digits are entered, when form is submitted data will now be shown on submission page. I have checked submission page of your form and there are only data for Country Code widget field if 9 digits were entered. This is the issue I reported to our developers. 

    Country Code widget   submitted data are not shown on submission page if less than 9 digits are entered Image 1 Screenshot 30

    Considering that you have set  county of your widget to Singapore, I assume that you need this only for residents of Singapore. If that is the case you can use regular phone number field and turn ON Input mask and set Mask Value. You can set Mask value like this +(65) ####-####

    That way +65 will be shown on the form and your users will not be ale to change those values. They will only be able to enter 8 numerical values. Also make that field required. 

    Country Code widget   submitted data are not shown on submission page if less than 9 digits are entered Image 2 Screenshot 41

    Here is my demo form: https://form.jotform.com/60143367617960 

    Feel free to clone it.

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

  • kongyj88
    Replied on January 16, 2016 at 8:38 AM

    hi joanna,

    Setting the widget default to singapore is for convenience of the singapore residents, i have considered the +65 input mask before, However we are also welcoming users from overseas to fill up the form as well, hence i have decided to add the picker widget for the users' convenience.

    May i know if there is a way out for this?

  • Kevin Support Team Lead
    Replied on January 17, 2016 at 12:40 AM

    Hi,

    I think it could be achieved by using the Phone Number field and conditions.

    You may show/hide the Phone Number field with the correct mask, however it would require a hard work, and you would have to add a Phone Number field for each country.

    I think we should wait to get results from our second level, and it should be soon.

    Thanks.

     

  • TitusNdoka JotForm Developer
    Replied on May 20, 2016 at 12:52 AM

    We've implemented the limit on the number of digits when singapore is selected. 

    Required validation will be triggered if less than the required digits are entered. 

    Please give it a try and let us know.