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

The account and contact in my vf page

The account and contact in my vf page   account name filed  i am enter like  name=kishore  when  mouscursor will be down  the   the related contact fileds like contactname ,phone   automatically  populated in that related values name of account
Sameer PrasonnSameer Prasonn

You can use Action function  and javascript to get it done.

javascript function fire on blur event e.g.

         $('ID for the text box").bind('blur',function(){
             //Call for action function here

<apex:ActionFunction name="calling name" value="method in controller"/>

in Apexclass

public String field-value{get; set;}

public pagereference Method(){
    here you can use the field value and fetch the records and populate related fields which you want to populate on blur


hope this resolve your query.