Questions tagged [country-and-state]
The country-and-state tag has no usage guidance.
64
questions
0
votes
1answer
3k views
How do I get Country State Picklist Values in a lightning component? [duplicate]
We have State and Country Picklist enabled in the org. I cannot find a way to find out the list of states based on the selected country. I need this in the lightning component.
I've used ...
0
votes
1answer
82 views
Issues after enabling state country pick list
We have implemented state/ country pick list after converting data.
The issue is one class is shown in the customizations list which i need to update.
i have below line in this class which is ...
0
votes
1answer
42 views
Account Billing Address Picklist without State and Country Picklists
I'm trying to replace the Standard BillingCountry field on the Account with a picklist, but it seems I can't remove the standard field and replace it with a custom picklist - does anyone have any idea ...
0
votes
0answers
16 views
Country and state picklist with lightning web components
How can I capture the country and state picklist in lightning web component picklist input?
Please help me to give some guidance.
Thanks
Sunil Kr. Gupta
0
votes
0answers
38 views
Country/State Picklist Management through trigger
I am trying to map country and state from one custom object say 'User Submission' to Account's billing address. My custom object has more values of countries and states than standard Country/State ...
0
votes
0answers
60 views
Unable to convert a lead if country if country is not defalut country
few dacks back we have enabled country & state picklist values.
So, when trying to convert a lead with a country called Canada they are facing an issue. because currently, the default country is ...
0
votes
1answer
160 views
Add value to list of valid States
I added a new State for the Country 'Canada' in Setup -> State and Country/Territory Picklists. The State is 'BC' and StateCode is 'BC2'. See the image below for how it looks:
Now that 'BC' is a ...
0
votes
1answer
1k views
State/Country Picklist: The BillingStateCode field contains New Jersey, which isn't an available state
I am trying to migrate our production org to State/Country picklists. I followed the instructions of scanning my org in a Dev sandbox. There was no data to convert because it was a new blank sandbox, ...
0
votes
0answers
362 views
Find state from Area Code
Our leads come in with just a phone number. I am looking to populate a custom field for the Lead State based off of that area code. I have already added a custom formula field to populate the time ...
0
votes
0answers
358 views
State and Country Picklist on Visualforce page
I have a page which displays input fields from a fieldset on Opportunity object. The fieldset contains Country and State picklists which render properly.
The only problem is when the Opportunity ...
0
votes
0answers
613 views
Best Way to Populate Visualforce Picklists of Countries and States?
I am currently making a Visualforce Page for registration and I have both Country and State fields (both picklist) to populate. I have looked for resources online and I found out some possible ...
0
votes
0answers
1k views
Get state dependent picklist in apex when State and Country Picklists is enabled
I have enabled State and Country Picklists in my org. I am getting values in piclist. But the are not dependent. Like if i select country "India" i should get states only related to india. But it is ...
0
votes
1answer
485 views
How to default contact's country in mailing address based on record type
Hi we have a few record type that is separate by country. Is there a way that when I am creating a new Account record, I want to default the Country value based on the record type?
For example: if I ...
-2
votes
2answers
1k views
How to search a custom object using one or more input pick list fields from a VF page and display the result(s) in a pageBlockTable
accept the input as strings (in an extension),
build &
execute the query,
populate a list element,
display the list.
Please give an example.