Hey guys, quite a simple question that I Can only seem to find one post on(probably because its so simple). The one post I found was suggesting using an extension however I was thinking maybe there is an easier way. I have the following text area
echo $form->textArea($model, 'TestReason', array('rows' => 5, 'cols' => 5));
I wish to restrict that to a certain number of characters, is there an easy way to do this? Would ‘max’=> 10 do or do I have to go with the extension? Sorry for the silly question and thanks in advance for any answers