i have a problem with the checkbox for multiple choises. I use this code:
And it looks so, and this is i want: But when i send the form, the e-mail has only information about one checkbox. But in the form i marked two checkboxes. The Name in the code is the same, but diffrent values. I think that should be correkt when i google about HTML checkboxes.<div>
<strong>Art der Hochzeit</strong><br>
<input type="checkbox" name="Art der Hochzeit" value="Standesamtliche Trauung" id="check1">
<label for="check1">Standesamtliche Trauung</label>
<input type="checkbox" name="Art der Hochzeit" value="Kirchliche Trauung" id="check2">
<label for="check2">Kirchliche Trauung</label>
<input type="checkbox" name="Art der Hochzeit" value="Freie Trauung" id="check3">
<label for="check3">Freie Trauung</label>
</div>
Normally it should look like this:
Where is my mistake?Art der Hochzeit
Standesamtliche Trauung, Freie Trauung
Thanks!