rem: if (err_obj) { 
add:   if (! err_obj) return true; alert(document.js_dump(err_obj));  var field = err_obj.first_field(); if (field && form[field] && form[field].focus) form[field].focus();   if (err_obj.extra.do_inline) { var d = document.did_inline = new Array(); var hash = err_obj.as_hash(); for (var key in hash) { var el = document.getElementById(key); if (el) el.innerHTML = hash[key]; d[key] = 1; } }   if (err_obj.extra.no_confirm) { 
context: document.validate = function (form, val_hash) {  if (typeof(val_hash) == 'string') {    if (! document.yaml_load) return true;    val_hash = document.yaml_load(val_hash);  }  if (! document.val_obj) document.val_obj = new Validate();  var err_obj = document.val_obj.validate(form, val_hash);  if (err_obj) {    alert(err_obj.as_string());    return false;  }  return true;}
meta: 5443	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5443/36b6d6336f71148a2949342b6bf1af36a21992c1/validate.js/buggy/lib/CGI/Ex/validate.js