Question

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?

Was it helpful?

Solution

It is called textarea, after the appropriate HTML tag.

CActiveForm::textArea()

CHtml::textArea()

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top