Leosghost - 9:25 pm on May 14, 2013 (gmt 0)
Thing is ..when you dial a number..you don't enter hyphens on the phone..and presumably yahoo ask for the phone number..
BTW..Not all countries use the xxx-xxx-xxxx written notation..
France for example uses xx.xx.xx.xx.
Some people write it as xx/xx/xx/xx/xx
Other countries use different "spacers"..
None of which are actual numbers..
If one is writing scripts for a form asking for phone numbers..one is asking for numbers..and one would normally sanitise out..anything which is not a number..
More secure that way..and the same form works worldwide..Yahoo is a worldwide operation..
They don't want to have to write a script for each country..
Credit card fields usually work the same way..they don't let you include the spaces..They want 16 digits..all with no intervening spaces or dots or whatever "local" method of "spacing" you use..
Even if on the Credit Cards the numbers are groups of 4 digits with spaces between each group..because to enter the "spaces" in the database would require encoding..