checkbox required validation code example
Example: html required checkbox
//HTML 5 Answer Requires <!doctype html> tag at begining of html file
<input type="checkbox" name="whatever you need it to be" required/>
//HTML 5 Answer Requires <!doctype html> tag at begining of html file
<input type="checkbox" name="whatever you need it to be" required/>