code: function() {
  	
     	var checkBoxId = this.divEl.id?this.divEl.id+'-field':YAHOO.util.Dom.generateId();
  	   this.el = inputEx.cn('input', { id: checkBoxId, type: 'checkbox' });
  
  	   this.fieldContainer.appendChild(this.el);
  	
  	   this.rightLabelEl = inputEx.cn('label', {"for": checkBoxId, className: 'inputEx-CheckBox-rightLabel'}, null, this.options.rightLabel);
  	   this.fieldContainer.appendChild(this.rightLabelEl);
  	
  	   // Keep state of checkbox in a hidden field (format : this.checkedValue or this.uncheckedValue)
  	   // This is useful for non-javascript form submit (it allows custom checked/unchecked values to be submitted)
  	   this.hiddenEl = inputEx.cn('input', {type: 'hidden', name: this.options.name || '', value: this.uncheckedValue});
  	   this.fieldContainer.appendChild(this.hiddenEl);
  	}
docs: Render the checkbox and the hidden field