Mon. - Fri. 9 am - 5 pm Ask a Question
Remember me

Variable phone number length for phone field

1 month 2 weeks ago #1

  • Raphael's Avatar
  • Raphael
  • Posts: 10
Phone numbers in the phone field must be allowed to be of variable length.

1 month 1 week ago #2

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 24808
Hello,
Thank you for contacting us

Describe your offer in more detail

Regards,
Vyacheslav, Balbooa.com

1 month 1 week ago #3

  • Raphael's Avatar
  • Raphael
  • Posts: 10
German phone numbers for example can be between 9 - 13 digits long.

1 month 1 week ago #4

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 24808
There are 2 solutions
1 Use a simple input type - number
2 Change phone number mask
more in this post

support.balbooa.com/forum/joomla-forms/1...-mobile-number#72105

Best Regards,
Vyacheslav, Balbooa Support Team

1 month 1 week ago #5

  • Raphael's Avatar
  • Raphael
  • Posts: 10
This doesn't work. For example:
When I change this: "de":{"title":"Germany","flag":"de","prefix":"49","placeholder":"XXXX XXXXXXX"},
To this: "de":{"title":"Germany","flag":"de","prefix":"49","placeholder":"XXXX XXXXXX"},

I can insert 10 digits long phone numbers, but no more 11 digits long numbers. It has to be possible to insert all phone number length.

1 month 1 week ago #6

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 24808
Vyacheslav wrote:
1 Use a simple input type - number

Best Regards,
Vyacheslav, Balbooa Support Team
Powered by Kunena Forum