function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Custom object country - state dependence functionality Visualforce page

Hi All,

I have already created 2 text fields in my custom object. 
I need to bind those two text fields to my visualforce and behave as country , state dependency.
[I've a different object for country and its state also]

I found this example which binds country and state to a property

But i need to bind to my two text fields. 

Can someone help me on this..

Thank you very much
And also i need to bind thiis functionality in more than once for same VF page. 
Same page i have to fill two company sections, company one country and state. and company two country and state. 

[I've four fields for that]