How to report multiple form fields with same name?

My form has many dynamically-generated, identically-named checkboxes with different values, e.g.:

<label>
    <input type="checkbox" name="InterestedIn" value="Actuator Test Stand">Actuator Test Stand
</label>

<label>
    <input type="checkbox" name="InterestedIn" value="Air Cycle Machine Test Stand">Air Cycle Machine Test Stand
</label>

<label>
    <input type="checkbox" name="InterestedIn" value="Air Flow Test Cart">Air Flow Test Cart
</label>

Note that they all have the same name “InterestedIn”, but different values.

When this form is submitted, all the user-selected checkboxes are included in the post. But CF7 only includes the LAST one in the generated email (see image).

How can I have ALL of these identically-named fields from the post included in the generated CF7 email?

  • This topic was modified 9 hours, 20 minutes ago by RashaMatt.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer