You need to sign in to do that
Don't have an account?
Nagarjuna Reddy.P
auto populate on lookup selection in visual force page
Hello EveryOne,
I have two objects Standard(Child) and custom object (Parent) i want to create a visual force page that includes fields from both parent and child objects , Now when i select Look up field Name (ex:parent record) as some abc in vf page the details(other fields) of abc record is to be auto populated in the vf page (i am trying to create Vf Page on Child object) , i need this functionality either in lightning experience(using lightning components) or Visual force page ,please help me.
Thank you Every One.
if you are using lightning component, you can use onchange="!c.functionName" or same thing in VF also on lookup field selection.
called function will have logic to query the child details and render them on lightninig component or vf page
if you have any code(lightning component ) similar to my requirement please post me.
Thank you.
on change of lookup , you can can call lightning controller method using this.
I dont have any sample code right now but hope this logic can help you..
Thats great, I will try on this.
Thank you once again.
Please mark it complete so that it can help others.