1. jbooth59
  2. General
  3. Wednesday, November 14 2018, 03:06 AM
I have a few phone number fields in my user profile template. Is there a way to force a certain format such as +1 (XXX) XXX-XXXX.
admin Accepted Answer
Admin
Hi,
sorry for late reply.

You can use text field type and set a custom format, see screenshot.

In "Custom Format" you should add a correct regex rule to met your requirements, for instance like example at https://regexr.com/3c53v you can use something like this
[+]*[(]{0,1}[0-9]{1,4}[)]{0,1}[-\s\./0-9]*
Attachments (1)
  1. more than a month ago
  2. General
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.