From: Brian Tan Date: Mon, 11 Apr 2016 17:48:37 +0000 (-0400) Subject: Fix missing checkbox requiredCheck X-Git-Tag: v6.2.2-rc1~67^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F8576%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Fix missing checkbox requiredCheck requiredCheck for checkbox was removed from 6.2.1. Reinstating. --- diff --git a/js/foundation.abide.js b/js/foundation.abide.js index c7b874933..b907c9eb5 100644 --- a/js/foundation.abide.js +++ b/js/foundation.abide.js @@ -83,6 +83,10 @@ class Abide { var isGood = true; switch ($el[0].type) { + case 'checkbox': + isGood = $el[0].checked; + break; + case 'select': case 'select-one': case 'select-multiple':