upload a file using type="file"
I have a contact form, and want visitors to be able to upload an attached file.
I see this in the Perch Documentaton:
Remember if using file inputs with the Forms app, you need to configure a file upload location within the form options.
I'm also aware of the recommendation to upload the file above the root folder.
My problem: I'm a blockhead, and I don't know how to do that.
Here's the type="file" part- the rest of the form is a contact form that works fine:
<perch:form id="contact" method="post" app="perch_forms" role="form"> <div> <perch:label for="sendfile">Send us a file</perch:label> <perch:input type="file" id="sendfile" label="file" accept="pdf doc docx xls xlsx" /> </div> </perch:form>