I'm trying to make a file upload through a front end form. the form submits, but the file I try to send is not stored in any folder.

I'm running the latest version of statamic in Homestead and edited the assets folder to rwx.

My contact.yaml contains the following:

    display: Name
    validate: required|min:2
    display: file
    type: file
    destination: uploads/
# also tried /assets/uploads/

My form contains the following:

{{ form:create in="contact" formset="contact" files="true" }}
    <div class="form-group">
        <input type="text" name="name" value="{{ old:name }}" class="form-control" />

    <div class="form-group">
        <input type="file" name="email" value="{{ old:file }}" class="form-control" />
{{ /form:create }}

So far nothing I try seems to work. Can someone explain what I'm doing wrong?

Answered by Erin Dalzell! Go to answer.