adamwathan / form

Super basic form HTML builder, only really exists so I can pull it in for some other more useful projects.
MIT License
232 stars 117 forks source link

No error message is shown when input name contains brackets #37

Closed sdebacker closed 9 years ago

sdebacker commented 9 years ago

We have this input:

<input type="text" name="customer[name]">

and this corresponding validation rule:

$rules = [
    'customer.name' => 'required',
];

If empty input is submitted, we should have an error, but no error or message was set.