Hacker News new | past | comments | ask | show | jobs | submit login

A system I worked on used the RDBMS’ default of 50 characters in a varchar column and the validation regex allowed uppercase alphanumeric input (for “1-800-CONTACTS”-style numbers) and also allowed spaces in addition to dashes. But the system didn’t allow users to label numbers in a separate field - so the users put the labels at the end of each number, e.g. “425-123-7890 JOHN SMITH, HOME”.

The system used this value for generating tel: links in webpages - which meant the links wouldn’t work anymore - but users preferred keeping these custom labels to having Skype-integrated or iOS tappable links anyway.


Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact