+ Start a Discussion
Andrew Hoban 6Andrew Hoban 6 

Converting a lead to a custom object?

Hi all,

I was wondering if it is possible to convert a lead into a custom object? I am creating a web-to-lead form which has feilds that relate to a custom object.
Andrew Hoban 6Andrew Hoban 6
Thanks for your reply. 

This refers to a force.com page, I am using a normal salesforce instance. Is this still the same? Instead of the normal conversion to an account I need the fields to map to a custom object. 

Thank you
Anoop yadavAnoop yadav
If you want to create a custom record on convering the lead.
You can go with Trigger.
Check the below link.
John PipkinJohn Pipkin
As well as using a trigger, you can fully customize the lead conversion process by using an apex class that can be called from a onclick javascript button by using ConvertLead() method followed by any custom logic afterward.