Hi all,
I am using codeigniter freamwork. The following is a list of all the native rules that are available to use:
required No Returns FALSE if the form element is empty.
matches Yes Returns FALSE if the form element does not match the one in the parameter. matches[form_item]
is_unique Yes Returns FALSE if the form element is not unique to the table and field name in the parameter. is_unique[table.field]
what I need is definig my own native rule. I tried to find where codeigniter has defined above rules. but I coudnt find it.
If anybody can plz help me to find the above native rules where they are defined. or help me to define native methode.
thanks in advance.........