I am going to add the hidden values: that works pretty well.
When it outputs, there are spaces where the empty values are, but I have bigger fish to fry.
My next problem is, how to take the values from the array created by the checkboxes and passed via $_POST['incidenttype'] and display only the checked values in the output.
Here is the code in contact.php (I edited out most of it, but here's the section I'm working on):
$email_body = "
<h3>Type of Incident</h3>
<h4>
<h4>Incident Type:<?php print $_POST[incidenttype];?><br /></h4>;"
The above PHP snipped in "<h4>Incident Type" line doesn't work. If I add ' ' inside the brackets, it gets hung up.
At the top of contact.php I tried assigning $_POST['incidenttype'] as follows:
$array = array($_POST['incidenttype']);
Then I put $array in the "incident type" line, but it simply outputs the word "Array."
How to I get the checkbox values passed from the form to display in a list?