Formit Checkbox Info not sending
I have a working Formit form. I can successfully send & receive the form.
The only issue is the checkbox data is blank in the email received. All other fields I am receiving the form info
This is my code (only relevant parts included for brevity)
[[!FormIt?
&hooks=`spam,email`
&emailTpl=`emailTPL`
&successMessage=`Your comment has been submitted successfully, please check your email.`
&emailTo=`[[+email]],someone@mail.com`
&emailFrom=`someone@mail.com`
&emailSubject=`[[+name]] Sent You a Message`
&clearFieldsOnSuccess=`1`
&validate=`nospam:blank,
name:required,
email:email:required,
contactemail:blank,
artsize:required,
subject:required,
text:required:stripTags,
confirmemail:blank`
]]```
```Checkbox Code
<label>Article Type: [[!+fi.error.artsize]]</label>
<input type="hidden" name="artsize[]" value="" />
<ul><li>
<label><input type="checkbox" name="artsize[]" value="[[!+fi.artsize:FormItIsChecked=`Article`]]" > Article</label></li>
<li><label><input type="checkbox" name="artsize[]" value="[[!+fi.artsize:FormItIsChecked=`Article Long`]]" > Article Long</label></li>
</ul>```
And the TPL
<br /><p>Hey There,</p>
<p>[[+name]] just submitted your Form</p>
<p>Email: [[+email]]</p>
<p>Website: [[+subject]]</p>
<p>Article: [[+artsize]]</p>
<p>Message: [[+text]]</p>
<p>Thanks!</p>```
Can anyone suggest where I might be going wrong?