All my other form elements validate BUT my text area. Thoughts onto maybe why with the following code?
<?php $attributes = array('cols' => '30', 'rows' => '5', 'id' => 'article', 'class' => 'required') ?>
<div>
<?php echo form_textarea('article', '', $attributes); ?>
</div>
EDIT:
I’m using the jQuery validation class.
<div class="section _100">
<label for="article">Article</label>
<div>
<textarea name="article" cols="40" rows="10" Array></textarea>
</div>
</div>
SO now I”m wondering why its showing that Array like that when it should be finishing putting the attributes like the class part.
When you pass array of attributes, then it should be the only
form_textareafunction. Try this: