code: function BooleanField(type, options) {
    Field.call(this, type, options);
  
    this.name = options.name;
    this.named = options.named;
  
    this.element = util.createElement(this.document, 'input');
    this.element.type = 'checkbox';
    this.element.id = 'gcliForm' + this.name;
  
    this.onInputChange = this.onInputChange.bind(this);
    this.element.addEventListener('change', this.onInputChange, false);
  
    this.onFieldChange = util.createEvent('BooleanField.onFieldChange');
  }
docs: A field that uses a checkbox to toggle a boolean field