With the help of the plugin author, I just (this morning) got the attachment feature working on one of my sites. I’ll step through the process I followed and hopefully it can help you. Follow this in order!
1. From the dashboard, click Contact, then select the form. In the Form section (top left), enter <[file ACT_scores filetypes:gif|png|jpg|jpeg|pdf 30/] <span style="font-size:12px;"> Copy of ACT scores</span>
. Not to insult your intelligence, but following ‘file’ is the name of the document (in my case ACT_scores. Note that it is one word). The filetypes is optional, but can be used to restrict the file extension(s) you want. The 30/ is optional and it sets the width of the input field, the length of what is enters can be any length. Add as many of these as you want (I have 6 required files).
2. Then, scroll down to File attachments: under Mail. Enter each attachment enclosed within a pair of <strong>[</strong>
and <strong>]</strong>
. Example on my setup is <strong>[ACT_scores]</strong>
. If you have more than one attachment, simple place the second right after the first (i.e. <strong>[ACT_scores]</strong>
<strong>[SAT_scores]</strong>
.
The Form area code for my attachments is:
`<strong>Attachments</strong>: (all documents can be scanned and saved or typed and saved)
1. [file ACT_scores filetypes:gif|png|jpg|jpeg|pdf 30/] <span style=”font-size:12px;”> Copy of ACT scores</span>
2. [file SAT_scores filetypes:gif|png|jpg|jpeg|pdf 30/] <span style=”font-size:12px;”> Copy of SAT scores</span>
3. [file HS_transcript filetypes:gif|png|jpg|jpeg|pdf 30/] <span style=”font-size:12px;”> Copy of High School transcript</span>
4. [file essay filetypes:doc|docx|pdf 30/] <span style=”font-size:12px;”> Typed essay (length 1/2 to 1 page)</span>
5. Two letters of recommendation
a. [file letter_1 filetypes:doc|docx|pdf|txt 30/] <span style=”font-size:12px;”> Faculty member with knowledge of applicant’s<br />
academic achievements</span>
b. [file letter_2 filetypes:doc|docx|pdf|txt 30/] <span style=”font-size:12px;”> Individual with knowledge of applicant’s<br />
leadership qualities and potential</span>
6. [file photo filetypes:gif|png|jpg|jpeg|pdf 30/] <span style=”font-size:12px;”> Photo of applicant in JROTC uniform</span>’ and the <strong>File attachments</strong> code is : [ACT_scores] [SAT_scores] [HS_transcript] [letter_1] [letter_2] [photo]
.
If you read the docs that come with CF7, all will make sense – eventually.
Hope this helps. If it does, do something that is helpful to someone else.
Dave