zzbbyy at gmail.com
Wed Jun 13 10:27:04 GMT 2007
This might be a holy grail of the MVC frameworks - but there are good
arguments for having the validation in the Model (one of them is the
End to End argument - only in Model you have all the info needed for
full validation). Will FormFu support that way of structuring the
Can you include a model as the HTML::FormFu::Validator, call it when
saving the values and retrieve all the errors that it might generate?
This would require a documented Errors structure or object so that we
would know what the model should return. What do you think?
Onother question - can you easily make a HTML::FormFu::Validator based
on a Data::FormValidator for example?
More information about the HTML-FormFu