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

VF Multiple Object

HI  i have a senario here to show multiple fields from Different Objects on 1 page and let the User Enter Details:


Scenario :

I have an Account with 4 Lookups:

Internal contact person --- user Look up

External Contact -- Contact Look up 

closer -- user Look up 

Broker - Contact look up 


I invoke a web service with button click . 

I need to validate if all the Look up records have Ph NO and Address and Even if any Account details missing [Account Object Fields] filled in if they are not entered 

i need to show the Fileds that need to be entered in Visual Force Page and let user Enter all these values and save from the same Page .


Can some one Help me with the code that validates these fields and show all these missing Fields in one VF page and Let user Enter the inputs from same page instead navigate to several pages . 













I have a couple of blog posts that may help:



show how to validate and display error messages, while:


shows how to edit more than one record on the same page.