I'm building a form using GDocs, and then taking the form out into my web page so I can directly edit the form (so I do have complete control over the form code).
Right now I'm able to submit the results send to Google Docs, and then have the results emailed me to me.
I want to add a file attachment to these submissions, using:
<input type="file" name="datafile" id="filedata" size="40">
I know I can use mailApp.sendEmail's advanced arguments, specifically the attachments argument, or the inlineImages argument.
But how do I access the file values in order to attach them to send?