[eluser]weetstraw[/eluser]
Hello. I have question which I'm assuming is an oversight on my part.
To control the size of a text area I would like to use the following code:
Code:
form_textarea('description','description','20','20')
but it doesn't change the col/row, Instead I have to use the code below which seems unnecessary.
Code:
function addRecord()
{
$data['title']=" - Manage Content - Add Content";
$data['heading']="Add Record";
$data['formAction']="manage/insertRecord";
$ta=array(
'name'=>'description',
'value'=>'description',
'cols'=>'50',
'rows'=>'15'
);
$data['formField']=array(
form_input('title','title'),
form_input('link','link'),
form_input('tags','tags'),
form_textarea($ta)
);
$this->load->view('form_view',$data);
}