Hello Everyone,
I have added cck_address module .
I have added content types as address through "admin/content/types/add".
After that I have created field as country and done all data settings.
I have check only country field in "customize fileds to use".
But when I am going to create content as address then I am not getting any values in country dropdown
and getting this validation error-->
"Address field is required.
City field is required.
ZIP field is required.
Illegal value for Country's State field. You must select a State from the dropdown list."
Although I have unchecked all these fields except country.
I am not getting what to do.
Your Help is needed.
Comments
Comment #1
rconstantine commentedI just tested my installs and don't have this problem at all. Did you check at least one country in the 'allowed countries' list?
Comment #2
rconstantine commentedI take it back. Validation passes, but the value of the country isn't stored and I know why. Search the code and look for a line that has several "&&" pairs on it. You should see that it checks to make sure that at least one of the following fields has a value: address, city, and I think one or two others. I don't remember off of the top of my head. In any case, I don't think country is on that list as I didn't anticipate that this module would be used only for that. I mean, if all you need are countries, then why not use a single text field?
Comment #3
NewZeal commentedIssue more than 6 months old