+ Start a Discussion

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,