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
m pandeym pandey 

how to populate the account related contacts in look up or in pick list.?

Account look Up        & standrd
Project  Look Up            custom(related list in account)

then form__c(custom object) has the Account & Project lookup in  form__c object

if account lookup is selected ABC record 
then Project lookup should show associted or related records in lookup

this functionality should be in lookup and pick list....
so please send the code as  early as possible please
Pankaj Sharma 53Pankaj Sharma 53
In Your scenario you can't dynamically auto-Populate lookup value in standard Form__c Edit page.
If you want to use picklist then you have to create a vf page and need to replace with edit page and need to generate dynamic Picklist.

As I think that very hectic task. So, try to avoid this. There is another option to auto populate lookup value through process builder but we cant use here because Project__c is child of account if more than one child or no child available then it will not work. 

So, I will suggest you to use use lookup filter on project field of Form__c so when you will select account and then project so it will display only those project which is related to selected Account.

 User-added image