var formsActivated = false;
$("form").submit(function(){
	return formsActivated;
});
var formErrorsFound = false;
$("form").each(function() {
	if ($(this).attr("action") != "/static/formsubmit" && alertFormErrors) {
		if (typeof window.console != "undefined" && typeof window.console.error == "function") {
			window.console.error("Missing #formAttributes() in form declaration (form id="+$(this).attr("id")+")");
		}
		formErrorsFound = true;
	}
});
if (formErrorsFound) {
	alert("Found errors on forms. See console");
}
