octobercms/october — pull request #474 by Flynsarmy (2014-07-27 12:03:12+00:00)
Title: Don't allow [ or ] characters in field IDs

When I add a nested field to a form, its ID is created with an invalid value resulting in potential javascript errors.

## Example

Add the following config to your `fields.yaml`

```yaml
config_data[rates]:
label: Rates
type: datagrid
tab: Rates
```

The field will be rendered like so:

```html