• Resolved recongohan

    (@recongohan)


    Hello, I have a form on my page (Get in Touch), for that I need the form to reject the numbers which aren’t correct with respect to their country. Currently it’s only working for US. as it is not allowing entries which aren’t Proper phone numbers. I want that mechanism for all countries. Plz help

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @recongohan

    I hope you’re well today!

    I checked the form and I see that you already have an “international” validation set there.

    If user selects country from the list or start typing-in country code, that validation will automatically switch to relevant country. I just tested it on your form for Poland (as I know numbers format well) and I don’t see any issue there.

    I suppose I might be missing something though so please explain what is the issue there exactly – are you getting some errors with some/other countries? Or it’s not validating correctly (if yes, can you provide some example number formats that should not be accepted but they are)?

    Please advise!

    Kind regards,
    Adam

    Hello Adam @wpmudev-support8 ,

    It appears that what @recongohan said is correct; the phone number validation is not working as expected. For example, the phone number field validates an invalid Nigerian number, which consists of just random strings of “8,” such as +234 16836479 or +234 45638920.

    However, the phone number validation only functions correctly when users start the number with a valid prefix like +234 70, +234 80, or +234 81, +234 90, or +234 91. In this case, if users don’t enter an additional 8 digits after the first five digits, the validation will be triggered. To clarify, the form validates to ensure that the user enters 8 digits after the initial five digits. If there are fewer or more than 8 digits, the validation will be triggered.

    You can review the screen recording here https://drive.google.com/file/d/1J5Kd8NStIsh9M7lMrvVvzJ3nLn0_JkMZ/view?usp=sharing

    Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @olumide22

    I appreciate your input but even if the issue seems the same, please start separate topic of your own, as per this forum guidelines:

    https://www.ads-software.com/support/forum-user-guide/faq/#i-have-the-same-problem-can-i-just-reply-to-someone-elses-post-with-me-too

    and we’ll assist you there.

    Kind regards,
    Adam

    Hello @wpmudev-support8,

    I don’t have any issues with the plugin; I’m simply assisting by reproducing the bug so that you can gain a better understanding of the problem.

    Kind Regards,
    Olumide Akintunde

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    @olumide22,

    I don’t have any issues with the plugin; I’m simply assisting by reproducing the bug so that you can gain a better understanding of the problem.

    The issue you have mentioned can be specific to countries. Could you please open a new ticket, so that we can investigate further regarding your observation?

    Regards,

    Nithin

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @recongohan,

    Since we haven’t heard from you for a while. I’ll mark this thread as resolved for now. Please feel free to re-open the thread if you need further assistance.

    Regards
    Nithin

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Phone number Validation’ is closed to new replies.