+ Start a Discussion
Arnold PernocaArnold Pernoca 

Web-2-Lead with Attachments using Apex/Visualforce

Hello everyone,

I want to create a Web-2-lead form which supports attachments. I can simply generate the code using the built in functionality that salesforce offers. However, in order to support attachments I need to write some code (Apex/ Visualforce). Can someone provide an example or simply explain how to go from the automatically generated web-2-lead HTML code to a visualforce page which uses an apex controller to save the attachments.

I am in need of an explaantion to better understand how this theoretically works.

Thank you! 
Dinesh GopalakrishnanDinesh Gopalakrishnan
Hi Arnold,

Please check the below link and let me know if you have any queries.