I have managed to get it so that a user can choose a file to upload to a form, and it is even appearing in my new VPP folder.
However in the email, it just says "Upload FileUploaded" for that field.
It says I need to Just attach to the BeforeSubmitPostedData event Check if ((e.FormData.ChannelOptions & ChannelOptions.Email) != ChannelOptions.Email) is true then send the custom mail and remove the send mail option e.FormData.ChannelOptions &= ~ChannelOptions.Email;
in the instructions, but can anyone break that down further for me, as im still in process of learning the code.
Hello,
I have managed to get it so that a user can choose a file to upload to a form, and it is even appearing in my new VPP folder.
However in the email, it just says "Upload FileUploaded" for that field.
It says I need to Just attach to the BeforeSubmitPostedData event
Check if ((e.FormData.ChannelOptions & ChannelOptions.Email) != ChannelOptions.Email) is true
then send the custom mail and remove the send mail option
e.FormData.ChannelOptions &= ~ChannelOptions.Email;
in the instructions, but can anyone break that down further for me, as im still in process of learning the code.
Many Thanks
Marc.