Fwd: InputFilter/BaseInputFilter : Data formatting and validation process

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Fwd: InputFilter/BaseInputFilter : Data formatting and validation process

Vincent Caggiari
Hello,

I was wondering why during form validation process, the data passed to
validators are raw values ?
Why are they not filtered before and then passed to validators ?

I don't understand the logic behind this..
In my opinion, values need to be filtered and then validated so why
validators don't get the filtered values ?

Thank you for your help.