• Hi guys,

    So I am trying to create just the one ‘Choose file’ button to attach a file to the email. My code is:

    <p>Your Name (required)
    [text* your-name] </p>

    <p>Your Email (required)
    [email* your-email] </p>

    <p>Subject
    [text your-subject] </p>

    <p>Your Message
    [textarea your-message] </p>

    <p><input type=”file”>
    [file* file-88 limit:10000485 filetypes:jpg|jpeg|png|gif|pdf|doc|docx|ppt|pptx|odt|avi|ogg|m4a|mov|mp3|mp4|mpg|wav|wmv|stl|zip] </p>

    <p>[submit “Send”]</p>

    However the contact form generates 2 ‘Choose file’ buttons and only the first of those upload buttons attach the file to the email.

    Would anyone know what I have done wrong?

    Thanks,

    James

    https://www.ads-software.com/plugins/contact-form-7/

  • The topic ‘Double upload button’ is closed to new replies.