You need to sign in to do that
Don't have an account?
![Rahul456 Rahul456](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
How to call a function in controller field when onBlur or orChange event fires
While User is
creating an account through visualforce page,in this process he has to fill few input
fields.
When he enters Zipcode(input field) value City field value should be auto populated with respective City value.
This Zipcode
vs City value mapping is stored in custom object.We maintain this
Zipcode Vs
City mapping for only cities that belongs to US.
So for rest
of the cities, User has to manually enter City field value.
Plz
suggest me how to implement this.
![dchasman dchasman](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
Take a look at the documentation and examples for apex:actionSupport which should get you what you're looking for. You might need to drop to the lower level apex:actionFunction but for most cases apex:actionSupport is a better place to start.