- Posts: 55
- Thank you received: 0
Please post all pre-sales questions of all products on this forum
North American phone # formatting
- lorna guttormson
- Topic Author
- Offline
- Senior Member
-
Less
More
6 months 1 week ago #168962
by lorna guttormson
North American phone # formatting was created by lorna guttormson
Is there a way to force standard phone number formatting for those who enter a 10 digit phone number - or reformat for them? Preferred formatting (999) 999-9999. We do a have a few members from Europe so more than 10 digits we would want to leave untouched. I could add php code to reformat if there is some way to add custom code for a field or perhaps make use of your 'Input mask - which I don't really understand. Is there some way to display a placeholder to demonstrate the format in advance?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
6 months 1 week ago #168972
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic North American phone # formatting
You can just set the format you want in the Place Holder setting of the field
Regards,
Tuan
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- lorna guttormson
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 55
- Thank you received: 0
6 months 1 week ago #168977
by lorna guttormson
Replied by lorna guttormson on topic North American phone # formatting
Thank you. Like Maxime K. I couldn't find the placeholder field as I was looking for it for my date of birth field - defined as a date field. I now have it as a text field and find the place holder and the validation still works. I have changed the phone number to a text field and now have a place holder for it as well.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
6 months 1 week ago #168979
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic North American phone # formatting
Ah Yes. We do not support place holder for Date field. Only text base field types have place holder supported
Regards,
Tuan
Regards,
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc, Giang Dinh Truong, Mr. Dam
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.