using <?php echo validation_errors(); ?> to echo errors |
[eluser]R_Nelson[/eluser]
my question is can i some how make this so it has a red box around the errors and have them bullet-ed using <ui> some how?
[eluser]stuffradio[/eluser]
I assume you mean ul and not ui? Anyways, in css you can use this. Code: ul li Or assign it something like Code: #errors_css [code] <ul> <li id="errors_css"><?php echo validation_errors(); ?></li> </ul>
[eluser]bubbafoley[/eluser]
read this: http://ellislab.com/codeigniter/user-gui...delimiters you change the delimeters and do it like this: Controller Code: $this->form_validation->set_error_delimiters('<li>', '</li>'); View Code: <ul class="error"> |
Welcome Guest, Not a member yet? Register Sign In |