Raven Optional File Uploads

Hello super-smart Statamic/Raven people, I've been struggling with this issue and my scouring of existing forums haven't yielded anything. Essentially, I'm attempting to make a form that has an optional file upload. It works as expected when a file is provided, but when the file is left blank, the form attempts to submit but just reloads with values reset -- It doesn't go to either the provided "success" or "error" paths, and no data is saved or emailed. The form in question:

{{ raven:form files="true" formset="testform" return="/testform/thank-you" error="/testform/error" }}
    <input type="text" name="order_id">
    <input type="file" name="order_file">
    <input type="submit">
{{ /raven:form }}

While an empty file input doesn't work, if I completely remove that input from the form, it works fine. Am I missing something? Thanks for your help!

Answered by Jason Varga!
>>>>>>> Answered <<<<<<<
10 Replies