Form validation not running |
Hi all,
I'm trying to figure out why my form_validation_run function isn't returning true after I submit my form. Here is my form: Code: <?php echo validation_errors(); ?> And here is my Controller: Code: class Admin extends CI_Controller { Everytime I submit the form, the admin_home view shows and not the boom view. Any help appreciated, thanks. (12-29-2015, 01:29 AM)Domcsore Wrote: Hi all, Have you set any validation rule for your textarea? You could read more about form validation from CI doc here
Additionally, any control which you want posted in your form needs a name attribute to define the key used to access the value of the control in the posted data.
|
Welcome Guest, Not a member yet? Register Sign In |