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
learning_SFDClearning_SFDC 

Save method to get accountid to contact from custom VF

Hi Members,

Did any one used Jeffdouglas code to overide standard quick create Popup Dialog :- http://blog.jeffdouglas.com/2011/08/12/roll-your-own-salesforce-lookup-popup-window/ 
If yes can any body tell me how to get account id in save method to contact record.

Thanks in Advance
Ajay_SFDCAjay_SFDC
Hi there ,
If you are using contact object in your controller like
public contact objcontact ;
then you just need to use objcontact.AccountId 

If you are getting AccountId in any field then just add get;set to that field so that you can use it in the controller.

Thanks 
 Ajay