| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Old Sites/rescommittee/modules/mod_aridatatables/includes/fields/fixvalidators/ |
Upload File : |
window.addEvent("load", function() {
var disableVal = function() {
if (typeof(document.formvalidator) == "undefined" || !document.formvalidator || typeof(document.formvalidator.isValid) != "function") {
setTimeout(disableVal, 20);
return ;
}
document.formvalidator.isValid = function(form) {
var valid = true;
// Validate form fields
var elements = form.getElements("input[class*=required],select[class*=required],textarea[class*=required],button[class*=required],input[class*=validate],select[class*=validate],textarea[class*=validate],button[class*=validate]");
for (var i=0;i < elements.length; i++) {
if (this.validate(elements[i]) == false) {
valid = false;
}
}
// Run custom form validators if present
new Hash(this.custom).each(function(validator){
if (validator.exec() != true) {
valid = false;
}
});
return valid;
}
};
disableVal();
});