Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Daniel Rogers 134 posts 712 karma points
    Sep 30, 2020 @ 00:38
    Daniel Rogers
    0

    Ajax and file upload for email attachement

    Using umbraco 8.

    I have a registration form that sends an email notification. In that form there is option to upload an image to be sent as an attachment.

    If i use Html.beginform the email is sent with the attached image. If I use Ajax,beginfrom the email is sent with out the attached image.

    But I want ajax to work as I want to remove the from from the page and display a success message. If if there is a failure display an error message.

    The problem arises because ajax from what I have read wont allow for the file upload but Html replaces the whole page instead of a section.

    Required solution would be a ajax form with a work around for the file upload.

    Can anyone help me out

Please Sign in or register to post replies

Write your reply to:

Draft