[eluser]Bas Vermeulen[/eluser]
You're welcome, happy to help out.
Yeah, the following will do that:
Code:
<input type="text" name="input_name_here" id="input_name_here" value="<?php echo set_value('input_name_here'); ?>"<?php if(isset($this->form_validation->_error_array['input_name_here'])): ?>style="border: 1px solid red" <?php endif; ?> />
Instead of setting the style like shown you ofc should set a class