Welcome Guest, Not a member yet? Register   Sign In
Form validation and form_validation.php
#2

(10-11-2017, 10:26 AM)dave friend Wrote: In the  How to Save Your Rules section of the Form Validation documentation it states

Quote:Your validation rule file will be loaded automatically and used when you call the run() method.

The "validation rule file" is, as I'm sure you all know: application/config/form_validation.php

But I'm not finding how or where this loading occurs. I'm probably suffering from male pattern blindness but I cannot find it. Does anyone know where in the core source code this happens?

make the file yourself and load it maybe.

To store your validation rules, simply create a file named form_validation.php in your application/config/ folder.
Reply


Messages In This Thread
RE: Form validation and form_validation.php - by ChicagoPhil - 10-11-2017, 12:53 PM



Theme © iAndrew 2016 - Forum software by © MyBB