src/util/form/form.js
function(_node){
                var _type = _node.type,
                    _novalue = !_node.value,
                    _nocheck = (_type=='checkbox'||
                                _type=='radio')&&!_node.checked;
                if (_nocheck||_novalue) return -1;
            }
function(_node){
                var _type = _node.type,
                    _novalue = !_node.value,
                    _nocheck = (_type=='checkbox'||
                                _type=='radio')&&!_node.checked;
                if (_nocheck||_novalue) return -1;
            }
function ( _node ) { var _type = _node . type , _novalue = ! _node . value , _nocheck = ( _type == 'checkbox' || _type == 'radio' ) && ! _node . checked ; if ( _nocheck || _novalue ) return - 1 ; }
value require for text checked require for checkbox or radio
value require for text checked require for checkbox or radio