Please post all pre-sales questions of all products on this forum

North American phone # formatting

  • lorna guttormson
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
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.

More
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

Please Log in or Create an account to join the conversation.

  • lorna guttormson
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
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.

More
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

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham NgocGiang Dinh TruongMr. Dam