title: How to customize form validation errors in codeIgniter
body: <p>Is there a file in codeIgniter in which I could just edit so that I can customize the form validation messages?</p>
  
  <p><img src="https://i.stack.imgur.com/9VnBh.png" alt="enter image description here"></p>
  
  <p>I just want to place them in a bulleted list to consume less space.</p>
  
  <p>Here's the code that I'm using to output the error messages:</p>
  
  <pre><code>&lt;div class="alert &lt;?php echo $alert['alert_type']; ?&gt; min-form"&gt;
          &lt;button type="button" class="close" data-dismiss="alert"&gt;x&lt;/button&gt;
          &lt;h4&gt;&lt;?php echo $alert['main_message']; ?&gt;&lt;/h4&gt; 
          &lt;?php echo $alert['sub_message']; ?&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Basically the <code>$alert['sub_message']</code> is just getting its data from <code>validation_errors()</code> function from CodeIgniter which outputs the validation errors from a form.</p>