• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Form submit error messages

I have a div where i echo the errors that show up in my form.

The thing is that in the view i do this:

<div class="submit_message">
  &lt;?php echo validation_errors(); ?&gt;

But when i go to the page without submitting it, i can see the error div being there without anything on it...

I want to hide it before the form is submitted, what is the best way to do this?


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.