Phone picker widget: required option doesn't work

  • ipunt
    Asked on September 20, 2017 at 6:30 AM

    Hi,

    The phone picker required function does not work!

    Anybody knows how to solve this issue?


    Ivo

  • candy
    Replied on September 20, 2017 at 9:02 AM

    Dear Ivo,

    We are sorry for the inconvenience you have.

    I have cloned your form named "Test phone picker" on my side in order to test it. I have seen that you have a Phone Picker widget in your form and "Netherland" has been set by default. So, your widget is not empty in every case, so it will pass from the requiring limit for every time. This is the normal logic of all fields. 

    If you do not set any default value to the fields and if you have set "required" feature, the warning will appear in the case of being empty as seen below:

    Phone picker widget: required option doesnt work Image 1 Screenshot 40

    My recommendation is to consider using a basic phone number field and setting an input mask to the country code as you can see the screenshot below:

    Phone picker widget: required option doesnt work Image 2 Screenshot 51

    So, your users will not be able to submit the form before entering the phone number in a specific format. 

    Phone picker widget: required option doesnt work Image 3 Screenshot 62

    For detailed information regarding input masking, please find the following guide: https://www.jotform.com/help/381-Getting-Started-with-the-basics-of-Input-Masking 

    I hope this helps. If you need further clarification, do not hesitate to contact us again.

  • ipunt
    Replied on September 20, 2017 at 10:03 AM

    Thanks Candy,

    I decided to work with the regular phone field without masking.

    But do you perhaps know how to remove the area-code section.

    I want to collect cell phone numbers.


    Phone picker widget: required option doesnt work Image 1 Screenshot 20

  • Kevin Support Team Lead
    Replied on September 20, 2017 at 11:29 AM

    You will need to set up a mask if you do not want to have the area code on your form: 

    Phone picker widget: required option doesnt work Image 1 Screenshot 20

    I hope this helps.