nicolasbeauvais / Walrus

Walrus Framework - Certainly not that big whatever factory.
https://walrus.herokuapp.com
MIT License
46 stars 6 forks source link

Management of form builder errors #46

Closed babaorum closed 10 years ago

babaorum commented 10 years ago

For the moment you can only return one error by field. It would be better if you return an array of errors by field and not an error message

nicolasbeauvais commented 10 years ago

It's a development choice, the user is alerted of the field restriction by the UI not by the error message. If he doesn't understand how to fill the form the error message guide him step by step. But this is the UI work, not the error message one.

Regards.