+ Start a Discussion

copying data from VF page

I need to save some data captured on a visual force page on Lead object. Looking for page reference syntax.
Above visual force page is called using a custom link on lead.
1)have a setter for the data that you want to store.
2)make a lead object and assign the data to the respective field.
3)then just use the insert command for update use update