Can you help check form
`<html>
<head>
<title></title>
<script src=”https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js”></script>
<script src=”https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js”></script>
<script src=”https://www.jqueryscript.net/demo/Responsive-WYSIWYG-Text-Editor-with-jQuery-Bootstrap-LineControl-Editor/editor.js”></script>
<link rel=”stylesheet” href=”https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css”>
<link rel=”stylesheet” href=”https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css”>
<link href=”https://www.jqueryscript.net/demo/Responsive-WYSIWYG-Text-Editor-with-jQuery-Bootstrap-LineControl-Editor/editor.css” type=”text/css” rel=”stylesheet”/>
<script type=”text/javascript”>
$(document).ready( function() {
$(“#txtEditor”).Editor();
});
function submit() {
var group = $(‘input:checkbox’).filter(‘:checked’).length;
var users = $(‘input[id=users]:checked’).length;
var message = $(“#txtEditor”).Editor(“getText”);
if(group < 1){
alert(“Select admin or moderator”);
return false;
}
if(users < 1){
alert(“Select users”);
return false;
}
if(!message){
alert(“Write a message”);
return false;
}
}
</script>
</head>
<body>
<form method=”post” action=”#”>
<input type=”checkbox” name=”group[]” value=”1″ />Admin<br />
<input type=”checkbox” name=”group[]” value=”2″ />Moderator<br />
<input type=”checkbox” id=”users” name=”users” value=”1″ />Users<br />
<textarea id=”txtEditor”></textarea>
<input type=”submit” onclick=”submit();return false;” value=” Submit “/>
</form>
</body>
</html>`