You need to sign in to do that
Don't have an account?
JRTConsult
Passing related ID to Custom Object in a visualforce page
I am trying to create a survey that is related to our account object.
I have created a custom object called Survey, created a master-detail relationship between account and survey, created my visualforce page. I would use the standard object layout but the field labels are too long to display so I created my visualforce page. When the user selects "New Survey" from the related list section of account, they see the survey, but the "Client_Name__c" field is blank on the visualforce page and the user has to manually select the name of the account from whose record they just navigated.
How can I get that field to auto-populate the "Client_Name__c" with the ID of the account object?
Seems like there should be a better way though. Maybe someone more knowledgeable will have a better idea. =)