$(document).ready(function() {
    $('form').bind('submit', function() {
        var accept = $('#accept:checked').val();
    
        if (accept == undefined) {
            alert('Please check the checkbox indicating that you have read and agreed with the terms of submission'); 

            return false;
        }
        else {
            return true;
        }
    });
});

