rem: if (type.indexOf('multiple')) { 
add: if (type.indexOf('multiple') != -1) { 
context: function vob_get_form_value (el) { if (! el) return ''; if (el.disabled) return ''; var type = el.type ? el.type.toLowerCase() : ''; if (el.length && type != 'select-one') {   var a = new Array();   for (var j=0;j<el.length;j++) {     if (type.indexOf('multiple')) {       if (el[j].selected) a[a.length] = el[j].value;     } else {       if (el[j].checked)  a[a.length] = vob_get_form_value(el[j]);     }   }   if (a.length == 0) return '';   if (a.length == 1) return a[0];   return a; } if (! type) return ''; if (type == 'hidden' || type == 'password' || type == 'text' || type == 'textarea' || type == 'submit')   return el.value; if (type.indexOf('select') != -1) {   if (! el.length) return '';   return el[el.selectedIndex].value; } if (type == 'checkbox' || type == 'radio') {   return el.checked ? el.value : ''; } if (type == 'file') {   return el.value; // hope this works } alert('Unknown form type for '+el.name+': '+type); return '';}
meta: 5443	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5443/3cd1cb93b73ecb68f0546dfa9061a139c6f9cb24/validate.js/clean/lib/CGI/Ex/validate.js