title: Visual Force page help
body: <p>I am trying to load values into VF input box  based on the account selected from popup.</p>
  
  <pre><code>          &lt;apex:pageBlockSectionItem id="pageblocksectionitem5"&gt;
           &lt;apex:outputLabel value="Account Name"&gt;&lt;/apex:outputLabel&gt;
           &lt;apex:panelGroup style="border: 0px solid Blue;" &gt; 
               &lt;apex:outputPanel layout="inline" style="background-color:#CC0000; padding-left: 3px; position: absolute; margin-left: 0px; margin-top: 2px; margin-right: 0px; height: 20px; border: 0px Red; " &gt;&lt;/apex:outputPanel&gt;                
               &lt;input type="text" name="AccountName" id="Input12" style="margin-left: 5px; " /&gt;&lt;img src="/s.gif" class="lookupIcon" onClick='window.open("/apex/xyz,"width=600,height=400,left=150,top=200,toolbar=1,status =1,");'/&gt; 
           &lt;/apex:panelGroup&gt;
       &lt;/apex:pageBlockSectionItem&gt;
  
       &lt;apex:pageBlockSectionItem id="pageblocksectionitem3"&gt;
            &lt;apex:outputLabel value="Linea"&gt;&lt;/apex:outputLabel&gt;
            &lt;apex:outputLabel value="{!linea}"&gt;&lt;/apex:outputLabel&gt;
        &lt;/apex:pageBlockSectionItem&gt; 
  </code></pre>
  
  <p>I need to populate linea from  the custom field linea__c which is from Account object.. I can query to get the field value. But i need it to happen immediately after the account is selected. How can i do it?</p>
  
  <p>Any pointers would be great...</p>
  
  <p>Thanks</p>