Вопрос

I want to make a yii program to add some name to my database at once. so I need an input field that can get multi line/ multi row. so I can input some name, and then input to databases. how can I do that? how can I make text field (this is default field from yii) to get multi line input string? or do i need to use other than text field?

Это было полезно?

Решение

It is called textarea, after the appropriate HTML tag.

CActiveForm::textArea()

CHtml::textArea()

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top