From 3da549a6f36bbb85735d672d064b5f4f1c37a095 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Tue, 23 Aug 2016 03:22:36 +0200 Subject: Test all check boxes before allowing to continue --- js/abmahn.js | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) (limited to 'js') diff --git a/js/abmahn.js b/js/abmahn.js index bad69a8..c33ed70 100644 --- a/js/abmahn.js +++ b/js/abmahn.js @@ -55,6 +55,15 @@ function ensureContent() { return missing; } +function ensureCheckbox() { + var checked = 0; + for(var i = 0;i