• Resolved jtmdDev

    (@jsard)


    I am unable to get the Phone field to work on my mobile phone. When I enter the phone number and submit the form, the message: “Match the requested format” appears and I can’t submit the form. The format for the Phone field is Custom (999) 999-9999. Only numbers and the +*# symbols are available on my cell phone keyboard since the field is numbers only so I can’t type the special characters. I tried the form in Firefox and Safari. I have an iPhone 12, IOS 18.2.

    The website specs are: WordPress 6.7.1, Divi 4.27.4, Formidable Forms (lite) 6.16.3.

    Ideally, I should only have to type the numbers and not the ( ) or -.

    Any help would be appreciated.
    Thanks!

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support altoin

    (@altoin)

    Hi There,

    Please modify the format for the required field and remove the () around the value. You can modify the format to ?999-999-9999.

    Let us know if that helps

    Thread Starter jtmdDev

    (@jsard)

    I modified the format as you recommended, but it still doesn’t work without the person entering in the dashes along with the numbers (I get the message “Match the requested format”). This is fine on desktop since a person has access to a full keyboard, but on mobile, there is no dash symbol. Is there no way to set up a mask that only requires the person to enter in the numbers and automatically adds the dashes?

    Thanks!

    Plugin Support altoin

    (@altoin)

    Hi There,

    You must match any format you set for your phone number. i.e. If you have dashes between the numbers, the dashes must be added to the number, if you use whitespace 999 999 9999, the spaces must be added when passing the number into the field.

    If you don’t want any format, you can remove the format option completely. Please note that whatever format set, must be followed in order to submit the form.

    Thread Starter jtmdDev

    (@jsard)

    Got it. So, I can’t use a custom format for the phone field since it won’t work on mobile. I did try switching to the alphanumeric keyboard on my iphone, but it doesn’t work. The phone field forces the use of the numeric keyboard on the iphone for the phone field and the only special characters are + * #. If I use “none” for the field format, then people can type in just the numbers in one long string. This is not ideal.

    I’m currently using a text field for the phone number on the live site so people on mobile have access to their full keyboard which allows them to type in the special characters.

    It would be useful to have a custom phone field where the special characters are automatically inputted on mobile so a person will only have to type the numbers.

    Thanks for your help.

    am going through same thing right now not working I had to write out the numbers in a message box copy and pasted still not working

    Plugin Support Njones35

    (@njones35)

    @prisca1
    For users of the Lite version, the “custom” format option in the phone field performs basic regex validation. This requires exact pattern matching, or it will fail validation, so I would recommend setting the format to “none” to resolve your issue.

    In the Pro version of the plugin, this setting enables an input mask, which prevents typing of incorrect characters in the first place, and would likely be better suited to your needs.

    still doesn’t work it says invalid number please how do I write this number in a space format +2349077889933 cos I tried it’s not working

    Plugin Support Njones35

    (@njones35)

    Hi @prisca1

    I would like to investigate this further.

    Could you please open a presale ticket in our helpdesk here, and attach an XML export of your form so I can test this on my dev site? https://formidableforms.com/new-topic/

    Thank you!

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.