2008年9月25日星期四

[fw-mvc] Form elements as arrays and validators

Hello,

I am trying to understand a bit how a validator works against a Zend_Form.

In case of a simple field (like a text one) to validator is passed the value of that field (a string).

How works validation for multi value cases ? As: text[], text[], ...

As far as i saw each value of array is passed separated to isValid of validator...

This is a nomal behavior ? This can be changed ?

Cristian

没有评论: