Need help with Joomla? We are available for hire to help with Joomla customization, upgrades, maintenance, and custom development.
Explore our services

Custom field "Countries"

  • Robert Gastaud
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
6 years 7 months ago #132408 by Robert Gastaud
Custom field "Countries" was created by Robert Gastaud
Hi,

I'm using a "countries" custom field and would like to select by default the first line "Select country" instead of a country ("France" on my test site) because it's the client's previous living country he must choose, everywhere in the world.
I've set "Populate From Previous Registration" to "No", but "France" is always selected by default.
How can I do?

Thanks
Robert

Please Log in or Create an account to join the conversation.

More
6 years 7 months ago #132419 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Custom field "Countries"
Hi Robert

What's name of the countries field you are using?

I think it only populated with default country if name of the field is country

Try to change name to something else to see if it solves your issue?

Tuan

Please Log in or Create an account to join the conversation.

  • Robert Gastaud
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
6 years 7 months ago - 6 years 7 months ago #132425 by Robert Gastaud
Replied by Robert Gastaud on topic Custom field "Countries"
Hi Tuan,

All the countries are published, and in the custom field "Countries" default values is empty.
Saving as copy with another "name" works!
Thanks !
Last edit: 6 years 7 months ago by Robert Gastaud.

Please Log in or Create an account to join the conversation.

More
6 years 7 months ago #132440 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Custom field "Countries"
Yes. For now, you need to use a different name because for countries field, if you use country as name of the field, the system will use default country config option for default value of that field

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc