Custom text input and select boxes for telephone numbers
I'd like my users to be able to input their telephone numbers via the regular text box, but choose an area code from a drop-down list. But, for aesthetic and usability purposes, I'd like the select box (containing the area codes) and the input box to appear side by side and not one after the other vertically.
Also, I'd like to limit the input of telephone numbers to 7 digits (no letters or other characters).
Anyone done this before?