My new related list button should redirect me to the New VF page for the child object, with certain fields from the Master on this form pre-filled. I can't seem to be able to both prefill the fields belonging to the Master or associate the new Child with the same Master. The VF page has a custom controller.
I tried using the format /apex/pageName?retURL=sameAsStdNewButton&lookupField_lkid={!Master__c.id}&MasterFieldToBePrefilledId1={!Master__c.Field__c}&...
but it doesn't seem to work.
It would also be helpful if someone could tell me how to structure the saveURL.