I'm not sure if there was an API change that affected this or not, but the syntax I use is.
I'm not sure if there was an API change that affected this or not, but the syntax I use is: $this->addElements(array( array('text', 'title', array( 'required' => true, 'label' => 'Title', 'filters' => array('StringTrim'), 'validators' => array( array('StringLength', false, array('min'=>1, 'max'=>50)), ), )), )); Edit: updated the StringLength validator options keys.
Weird.. but this does not work either. If I add var_dump($this->getElement('title')->isValid('XX')); right after the code you suggested above (but 'minLength'=>4), it will return true, even though the lenghth is equals to 2. – Pavel Dubinin Apr 15 '10 at 9:06 1 Try changing array('minLength' => 1, 'maxLength' => 50) to array('min' => 1, 'max' => 50).
I would bet this is the problem. Sorry I overlooked this earlier. – awgy Apr 15 '10 at 13:34 ah sure, thanks – Pavel Dubinin Apr 15 '10 at 20:43.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.