HI.
I want suggest one feature.
Ordering of error messages after validation.
What I mean?
For example, one variables could be validated in few rules.
array(‘a, b, c …’, ‘valFunc1’…),
array(‘a, b, c …’, ‘valFunc2’…),
this way comfortable for developers, but users want to see variable oriented way to show error message.
in this case (see above)
error message will be showed as:
a - not good 1.1
b - not good 1.2
…
a - not good 2.1
b - not good 2.2
it’s bad view.
sometimes good view is
a - not good 1.1
a - not good 2.1
b - not good 1.2
b - not good 2.2
etc…
of course now we have to chance get this order of error message, but what price of it ?
array(‘a’, ‘valFunc1’…),
array(‘a’, ‘valFunc2’…),
array(‘b’, ‘valFunc1’…),
array(‘b’, ‘valFunc2’…),
etc…
too much lines, espcially then u have form with more than 2 variables.
What you think ?
thanks.
P.S. or maybe this feature always in framework, and I can’t find it ?