Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

formatting phone column
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: formatting phone column
#39579
formatting phone column 11 Years, 2 Months ago Karma: 0
Is there any way to display 9-digit number with dashes for my phone column?

123456789

to
123-45-6789

I couldn't seem to find a solution thru my search on forum?

Thanks
The topic has been locked.
 
#39623
Re:formatting phone column 11 Years, 2 Months ago Karma: 748
Hello,

Download and upgrade "ARI Data Tables" module after this enter column name with phones in "Columns settings -> ID" parameter and set "Columns settings -> Format" parameter to the following value:


{$value|regexreplace:/(\d\d\d)(\d\d)(\d\d\d\d)/:$1-$2-$3}


Regards,
ARI Soft
The topic has been locked.
 
#39626
Re:formatting phone column 11 Years, 2 Months ago Karma: 0
Awesome. Works great. Thanks for the speedy response
The topic has been locked.
 
Go to topPage: 1