function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Rocks_SFDCRocks_SFDC 

Create a Lead and Attachment by using Visualforce Pages

Hi All,

I just want to create an visualforce page for Lead object. In the visualforce page, i want to include the lead fields and the interface that allows the user to select the file(Browse button). Then once we click on "Save" button, then lead will be created with an attachment.

This requirement i want to do it without <apex:inputFile> tag.

Could anyone please check and let me know your concerns on this.

Thanks in Advance,
Anil