rem: return validation_result; 
add: rv = validation_result; validation_result = true; return rv; 
context: function ValidatorCommonOnSubmit (){	/* handle validation summaries here */	if (validation_result == false && have_validation_summaries) {		for (var vi in Page_ValidationSummaries)  {			var vs = Page_ValidationSummaries[vi];			var header = vs.getAttribute ("headertext");			if (header == null)				header = "";			attr = vs.getAttribute ("showsummary");			if (attr == null || attr.toLowerCase() == "true") {				var displaymode = vs.getAttribute ("displaymode");				if (displaymode == null) displaymode = "Bulleted";				var html = "";				if (displaymode == "List") {					list_pre = "";					list_post = "";					item_pre = "";					item_post = "<br>";				}				else if (displaymode == "SingleParagraph") {					list_pre = "";					list_post = "<br>";					item_pre = "";					item_post = " ";				}				else {					list_pre = "<ul>";					list_post = "</ul>";					item_pre = "\n<li>";					item_post = "</li>";				}				html += header;				html += list_pre;				for (var v in Page_Validators) {					var vo = Page_Validators [v];					if (vo.getAttribute ("isvalid").toLowerCase() == "false") {						var text = ValidatorGetErrorMessage (vo);						if (text != null && text != "") {							html += item_pre + text + item_post;						}					}				}				html += list_post;				vs.innerHTML = html;				vs.style.display = "block";			}			attr = vs.getAttribute ("showmessagebox");			if (attr != null && attr.toLowerCase() == "true") {				var v_contents = "";				for (var v in Page_Validators) {					var vo = Page_Validators [v];					if (vo.getAttribute ("isvalid").toLowerCase() == "false") {						var text = ValidatorGetErrorMessage (vo);						if (text != null && text != "") {							v_contents += "-" + text + "\n";						}					}				}				var alert_header = header;				if (alert_header != "")					alert_header += "\n";				summary_contents = alert_header + v_contents;				alert (summary_contents);			}		}	}	return validation_result;}
meta: 655	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/655/9ca95371fe7d1ac5b6d5fb3a2235d822b7458a30/WebUIValidation.js/clean/mcs/class/System.Web/resources/WebUIValidation.js