# replaceFields
Replace an existing field by id.

## Usage
```javascript
const options = {
  replaceFields: [
    {
      type: "checkbox-group",
      label: "Checkbox",
      values: [{ label: "Option 1", value: "" }],
      icon: "☑"
    }
  ]
}
$(container).formBuilder(options);
```
## See it in Action
<p data-height="525" data-theme-id="22927" data-embed-version="2" data-slug-hash="YEOmea" data-default-tab="result" data-user="kevinchappell" class="codepen"></p>
