I have a form which is outputting a number of checkbox.
The form is working well when I have atleast 1 checkbox check.
I would like to show an alert message is no checkbox are check when a user is clicking on submit. How can I accomplish this?
<form method="post" action="delete.cfm" id="confrm_key">
<table >
<cfoutput query="query">
<td> <input name="check_delete" type="checkbox" class="checking_id" value="#id_table#" ></td>
<td><input type="hidden" name="time_Id" class="timebox" id="name_id2" value="#time_amount#"> </td>
</cfoutput>
</table>
<p><input type="submit" name="Submit" value="Delete" ></p>
</form>