var mfCheckbox = function (id,formData) {

    /*
        inherit from base-class
    */
    var baseClass = new mariaForm_fieldBase(id,formData);
    
    for (var i in baseClass) {
        if (typeof(baseClass[i]) == "function") {
            this[i] = baseClass[i];
        }
    }
    
    /*
        custom getter/setter required..
    */
    this.getValue = function () {
        if ($("#"+id).attr('checked')) {
            return "true";
        }
        return "false";
    }
    
    this.setValue = function (newVal) {
        $("#"+id).attr('checked',newVal);
    }
    
}
