Issue Bug Closed

#70500EXT:form - Having only a FILEUPLOAD element breaks form

Björn Jacob 10/08/15, 15:12 updated 10/21/17, 17:43

Description

If a form does only consist of a FILEUPLOAD element the form cannot be submitted. It is possible to reach the confirmation page but after hitting the “Confirm” button on the confirmation page the form cannot be sent. This only happens if confirmation=1.

Form to test with:

enctype = multipart/form-data
method = post
prefix = tx_form
confirmation = 1
postProcessor {
    1 = mail
    1 {
        recipientEmail = your@email.com
        senderEmail = your@email.com
    }
}
10 = FILEUPLOAD
10 {
    name = file
    label {
        value = File
    }
}
20 = SUBMIT
20 {
    name = 3
    value = Submit form
}

Reviews 1