" + this.errors().map(function (e) { return "
" + e.error + "
" }).join("") + ""; }; this.performValidation = function () { if (this.errors().length <= 0) { this._onSucess(); } else { this._onFailure(); } } this.displayErrorModal = function () { //event.preventDefault(); OC_MODAL_UTILITY.errorMessageModal(this.errorHtml()); }; this._onSucess = validationFieldObject.onValidationSuccess || null; this._onFailure = validationFieldObject.onValidationFailure || this.displayErrorModal; // this.performValidation = new Promise() endRegion }; var ValidationManager = function(obj){ this.validationEngines = []; this.validationEnginesMap = {}; this._engineKeys = []; this._buildEngines = function(){ for(var i = 0 ; i < obj.validators.length; i++){ var engine = new ValidationEngine(obj.validators[i]); this.validationEngines.push(engine); this.validationEnginesMap[engine.name] = obj.validators[i]; } } this.addEngine = function(engine){ }; this.removeEngine = function(){ } this._testDupes = function(engine){ if(this._engineKeys.indexOf(engine.name) > -1){ throw "Cannot add validation engine with the same name as previously defined" return false; } else { return true; } } this._buildEngines(); };
Skip to Content.
Skip to Footer.
Toggle navigation
Info
Sign in / Register
Email/Username
Password
Forgot Password?
Create Profile
Sign In
NOTICE: An updated
OC Development Services Fee Schedule
was approved by the Board of Supervisors and has gone into effect as of July 21, 2024.
Welcome! How may we serve you today?
Service Requests and Complaints
Submit a request to have something fixed or a complaint to report an issue.
Apply for...
Apply for permits, applications, maps, registrations, inspection requests and bonds.
Research Map
View Research Map
myOC eServices Account
Access your personal myOC eServices account
Make Payments or Access Certificate
Online Payments or Access Certificate
Information
Find answers to common questions