Form Helper adding class to the text box |
[eluser]Madmartigan1[/eluser]
There is no function form_text() Just do this: form_input('my_name', 'my_value', 'class="inn"'); You can also pass an associative array to the first param. Maybe the third too/instead, not sure. It's clearly documented in the user guide. You should have received a copy with your CI download. If not, it's online here: http://ellislab.com/codeigniter/user-guide/ |
Messages In This Thread |
Form Helper adding class to the text box - by El Forum - 03-24-2011, 09:44 AM
Form Helper adding class to the text box - by El Forum - 03-24-2011, 11:25 AM
Form Helper adding class to the text box - by El Forum - 03-24-2011, 01:48 PM
Form Helper adding class to the text box - by El Forum - 03-24-2011, 02:48 PM
Form Helper adding class to the text box - by El Forum - 03-24-2011, 06:28 PM
|