2009年9月30日星期三

Re: [fw-mvc] help using filters

For checking length, you should use validators, not filters http://framework.zend.com/manual/en/zend.validate.html, for length use http://framework.zend.com/manual/en/zend.validate.set.html#zend.validate.set.string_length

Regards,
Saša Stamenković


On Wed, Sep 30, 2009 at 9:04 AM, sina miandashti <miandashti@gmail.com> wrote:
hi

for example

i have form element textarea  called "user_sig"

and user add his/her signature into it ...

but i dont know what filters should i use for this element when updating the DB

also i want to check that the content is no long than for ex 300 character ...

plz help

--
________________
Sincerely
Sina Miandashti
MuSicBasE.ir & InvisionPower.ir Admin

没有评论: