Format Phone Numbers
Format Phone Numbers
Pliachas Paschalis
Posts: 69Questions: 13Answers: 1
in Editor
Any example of how to format phone numbers?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Is this in Editor (per the forum category you've posted this in) or in the DataTable?
Allan
It could be both!
I made up this:
should it be better to put a validator in such fields (FAX-mobile - Phone numbers) to count the numbers the user enters? For example 10 maximum?
and this:
I would certainly put a validator on it (all data should really have a validator).
Your format assumes a US style telephone number. If that is valid for what you need then what you have is fine. You might also want to take a look at the Mask plug-in for Editor.
Allan
Thank you
Have a loo at http://datatables.net/forums/discussion/33822