I am setting new rules to my form, and even if the form fields are not empty, I still get stuck into the validation check block

**validation function:**

```
    if (isset($_POST['action']) && $this->input->post('action') === "add_category") {
        echo "<pre>";
        print_r($_POST);
        $this->form_validation->set_rules($this->input->post('cat_name'), 'Category Name', 'required');
        if ($this->form_validation->run() === FALSE) {
            echo "false";
            exit;
         }
         else {
                echo "true" ; exit;
            }
        }

```

**output**

```
Array
(
    [action] => add_category
    [cat_name_] => gbddbd
    [parent_cat] => 1
    [cat_status] => 1
)
false

```

I creating simple `HTML` forms in my view, not with the help of `CI form helpers`