You need to sign in to do that
Don't have an account?
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 .
Thanks
I have a couple of blog posts that may help:
http://bobbuzzard.blogspot.co.uk/2011/04/field-level-error-messages-with.html
and
http://bobbuzzard.blogspot.co.uk/2011/04/field-level-error-messages-with_29.html
show how to validate and display error messages, while:
http://bobbuzzard.blogspot.co.uk/2011/03/edit-parent-and-child-records-with.html
shows how to edit more than one record on the same page.