<input type="checkbox" class='form' name="checkbox_1" />
<input type="checkbox" class='form' name="checkbox_2" />
<input type="checkbox" class='form' name="checkbox_3" />
.........
<input type="checkbox" class='form' name="checkbox_10" />
The from has been submitted using the “POST” method. identify, which of the check-boxes and write their numbers in increasing order. Separated all numbers by spaces(not new lines) and do not use any HTML formatting.
For Eg:
If check-boxes 3, 5 and 10 are checked.
Ouput would be:
3 5 10
Change the markup to something like
and to get the values submitted, use a simple loop