This bugtracker is archived (announcement). New tickets are created on github.com. See all framework issues, cms issues, and search the module listings for more specific bugtrackers.

Ticket #6230: check_box_js.patch

File check_box_js.patch, 603 bytes (added by natmchugh, 3 years ago)
  • sapphire/javascript/Validator.js

     
    147147                } 
    148148 
    149149                // This checks to see if the input has a value, and the field is not a readonly. 
    150                 if( ( typeof set == 'undefined' || (typeof(set) == 'string' && set.match(/^\s*$/)) ) ) { 
     150                if( ( typeof set == 'undefined' || set === false || (typeof(set) == 'string' && set.match(/^\s*$/)) ) ) { 
    151151                        //fieldgroup validation 
    152152                        var fieldLabel = findParentLabel(baseEl); 
    153153