Skip to content
Everett Griffiths edited this page May 20, 2014 · 2 revisions

Textarea

Syntax: textarea(string $name,string $default='',array $args=array(),string $tpl=null)

Simple example:

<?php print \Formbuilder\Form::textarea('bio'); ?>

More beefy:

<?php print \Formbuilder\Form::textarea('saga','Tell your tale here...',
    array('rows'=>'60','cols'=>'80')
); ?>

Textarea fields support a placeholders for "rows" and "cols".