
OKOBE.widgets.ArptForm = function(cfg) {
	this.init(cfg);
}

OKOBE.widgets.ArptForm.prototype = {

    validator: null,
    
    init: function(cfg) {
    	// Setup the validator associated with the form.
    	//
        this.validator = new arpt.FormValidator();
        
        // Attach the validator to the form.
        //
        this.validator.attach(cfg.formId);
	},
	
	getValidator: function() {
		return this.validator;
	}
};

