Welcome Guest, Not a member yet? Register   Sign In
I want validation_errors with <br>, but just one <br> between errors message.
#2

[eluser]rochellecanale[/eluser]
Just do this code:
Example

Username &lt;input type='text' name='username'&gt;
&lt;?php echo br(); ?&gt;
&lt;?php echo validation_errors(); ?&gt;

You have to set the html helper
$this->load->helper('html');

or set it manually in html code
Example
Username &lt;input type='text' name='username'&gt;&lt;br />
&lt;?php echo validation_errors(); ?&gt;



Messages In This Thread
I want validation_errors with <br>, but just one <br> between errors message. - by El Forum - 09-23-2012, 09:20 PM



Theme © iAndrew 2016 - Forum software by © MyBB