I have a form which I attached as an image. My requirement is I have a field called shopname. For this I have created a lookup using a custom object. When the user clicks beside of the shopname lookup, he can able to select from the customer table. Now my requirement is when the field has been selected, The below of the filed I want display remaining fields like address and mobile details as soon as the shopname selected.
Also, I would like to access the selected lookup field's value from an Apex controller.
A code sample of how to do this would be helpful.
