United States is the default and the only enabled country in my Phone Number field. Therefore, I should not see the the Country dropdown list on the node add form. Plus, the help text I entered for the Phone Number field repeats under the Country dropdown list, which should not be there too.

Please see the image...

Thanks.

CommentFileSizeAuthor
#4 cck_phone-hide_single_cc-1102662-4.patch2.76 KBckng
#1 pb1.jpg20.9 KBhgurol

Comments

hgurol’s picture

StatusFileSize
new20.9 KB

Oh well, and the image is here...

johnv’s picture

redsky’s picture

I agree, I'd like to see an option to hide the country code drop down.

ckng’s picture

Title: Unnecessary Country List » Option to hide the country code when there is only one selected
Category: bug » feature
Status: Active » Needs review
StatusFileSize
new2.76 KB

See attached patch.

When there is only one country code selected
- display country code form item inline (not as drop down) by default
- add an option in the setting page to hide single country code

ckng’s picture

Status: Needs review » Fixed

Committed to D7 dev.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.