You need to sign in to do that
Don't have an account?
spectrawolf
Update city and state fields with zip code
Is there a way to auto-populate the city and state fields based on the zip code entered?
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
You'll have to first purchase a list from USPS or a web resource for all zip codes in the United States and their states. You can either populate this data into a <list> and <map> and use an before insert trigger to update the fields when you create an account. I'd also place a validation rule in the zip field to only accept xxxxx amount of chracters.
If not, you can also populate this data into a text file and use a visual force page to reference the text file to update the fields.
hope this helps
All Answers
You'll have to first purchase a list from USPS or a web resource for all zip codes in the United States and their states. You can either populate this data into a <list> and <map> and use an before insert trigger to update the fields when you create an account. I'd also place a validation rule in the zip field to only accept xxxxx amount of chracters.
If not, you can also populate this data into a text file and use a visual force page to reference the text file to update the fields.
hope this helps