Florian Voutzinos
Florian Voutzinos
A good feature would be to be able to retrieve the validation error per field (which is currently impossible). It can be handy to display the error message close to...
@eddieajau I like this interface. Also, we need translatable error messages.
A XSD schema for the xml files could be handy. It would greatly simplify the validation when loading the form and provide autocompletion in most IDE when writing your forms.
Yes. I know PHPStorm can generate a schema from an xml file (it will just need some quick adjustments).
It looks nice. :+1:
For information there is this library https://github.com/Respect/Validation which has already a lot of rules. https://github.com/Respect/Validation/tree/develop/library/Respect/Validation/Rules It also provides an adapter for zend framework rules.
I think it would be better to not couple it with the logger. It could be done by creating an exception class like this. ``` php class UnsuccessfulResponseException extends \Exception...