• Resolved npboy99

    (@npboy99)


    Hello,

    There appears to be a problem when using Validation Type International for the Phone field. Generally it’s fine however for vietnam we are finding users unable to register since it only accepts on specific format.

    The number started with +84 39 xxx xx xx
    When I changed her number to +84 91 xxx xx xx, it worked.
    I just checked on wikipedia and it seems like cell phone numbers in Vietnam can start from 3x, 5x, 6x, 7x, 8x, and 9x https://en.wikipedia.org/wiki/Telephone_numbers_in_Vietnam

    Is it possible to provide instructions to add these extra numbers to the validator index?

    Thanks

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • pb52

    (@paulbarrett1952)

    There’s a problem with UK numbers too. I have had to drop validation

    Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hello there @npboy99
    This sounds like a similar issue we’re already working on.
    Can you please let me know if you’re using to Load form using AJAX? If so, could you please disable this option and try again?

    Dear @paulbarrett1952,
    even though this sounds like the same issue unless it’s not 100% the same as the original poster, please do create a separate one so we can better track and follow up there. ??

    Warm regards,
    Dimitris

    Thread Starter npboy99

    (@npboy99)

    Hi Dimitris,

    Thanks for the reply. I can confirm I have Load Page With Ajax turned off but the issue remains.

    If I try entering +84 39 xxx xx xx it won’t submit however if instead I use

    +84 93 xxx xx xx then it submits fine.

    I have updated to the latest version also.

    Best
    A

    • This reply was modified 5 years, 8 months ago by npboy99.
    Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Appreciate the update @npboy99

    Could you please export your form and share it here with us so we can better troubleshoot?

    Thank you,
    Dimitris

    Thread Starter npboy99

    (@npboy99)

    HI Dimitris. sure here you go

    {"type":"form","data":{"fields":[{"id":"phone-1","element_id":"phone-1","form_id":"wrapper-1511347711918-1669","type":"phone","cols":12,"required":true,"field_label":"","placeholder":"","validation":"true","validation_text":"","conditions":[],"phone_validation_type":"international","wrapper_id":"wrapper-1511347711918-1669","phone_national_country":"US","description":"Please select country first"}],"settings":{"pagination-header":"bar","formName":"Register","version":"1.7.0","form-border-style":"none","form-padding":"","form-border":"","fields-style":"open","validation":"on_submit","form-style":"material","enable-ajax":"true","submission-behaviour":"behaviour-redirect","thankyou-message":"<p>Your registration has been recorded.<\/p>\n<p>Thank you for pre-registering!<\/p>\n<p>Follow us on social media for exciting updates on the game's development!<\/p>","submitData":{"custom-submit-text":"Submit & Pre-Register","custom-invalid-form-message":"Error: Your form is not valid, please fix the errors!"},"validation-inline":"1","form-expire":"no_expire","use-admin-email":"","admin-email-title":"New Form Entry #{submission_id} for {form_name}","admin-email-editor":"You have a new website form submission: <br\/> {all_fields} <br\/>---<br\/> This message was sent from {site_url}.","admin-email-recipients":"","form-padding-top":"0","form-padding-right":"0","form-padding-bottom":"0","form-padding-left":"0","form-border-width":"0","form-border-radius":"0","cform-label-font-family":"Roboto","cform-label-custom-family":"","cform-label-font-size":"12","cform-label-font-weight":"bold","cform-title-font-family":"Roboto","cform-title-custom-family":"","cform-title-font-size":"45","cform-title-font-weight":"normal","cform-title-text-align":"left","cform-subtitle-font-family":"Roboto","cform-subtitle-custom-font":"","cform-subtitle-font-size":"18","cform-subtitle-font-weight":"normal","cform-subtitle-text-align":"left","cform-input-font-family":"Roboto","cform-input-custom-font":"","cform-input-font-size":"16","cform-input-font-weight":"normal","cform-radio-font-family":"Roboto","cform-radio-custom-font":"","cform-radio-font-size":"14","cform-radio-font-weight":"normal","cform-select-font-family":"Roboto","cform-select-custom-family":"","cform-select-font-size":"16","cform-select-font-weight":"normal","cform-multiselect-font-family":"Roboto","cform-multiselect-custom-font":"","cform-multiselect-font-size":"16","cform-multiselect-font-weight":"normal","cform-dropdown-font-family":"Roboto","cform-dropdown-custom-font":"","cform-dropdown-font-size":"16","cform-dropdown-font-weight":"normal","cform-calendar-font-family":"Roboto","cform-calendar-custom-font":"","cform-calendar-font-size":"13","cform-calendar-font-weight":"normal","cform-button-font-family":"Roboto","cform-button-custom-font":"","cform-button-font-size":"14","cform-button-font-weight":"500","cform-timeline-font-family":"Roboto","cform-timeline-custom-font":"","cform-timeline-font-size":"12","cform-timeline-font-weight":"normal","cform-pagination-font-family":"","cform-pagination-custom-font":"","cform-pagination-font-size":"16","cform-pagination-font-weight":"normal","cform-color-settings":"true","button-submit-background-static":"#00b050","button-submit-color-static":"#ffffff","form_name":"Register","form_status":"publish","poll-padding":"custom","poll-border":"custom","use-custom-css":"1","custom_css":".forminator-label--limit {display: none;}","redirect-url":"https:\/\/tokyodebunker.com\/success\/","honeypot":"1","button-submit-background-hover":"#33c073","button-submit-color-hover":"#ffffff","button-submit-color-active":"#ffffff","button-submit-background-active":"#00b050"},"client_id":null},"status":"publish","version":"1.7.0.1"}

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘International Telephone Validation’ is closed to new replies.