Welcome Guest, Not a member yet? Register   Sign In
Strange issue with validation libraries
#4

[eluser]daweb[/eluser]
This is my external file:

Code:
<?php
    $rules['username'] = 'trim|required|min_length[5]|max_length[200]';
    $rules['password'] = 'trim|required|min_length[5]|max_length[200]|callback_check_login';
    $this->validation->set_rules($rules);

    $fields['username'] = $this->lang->line('formUsername');
    $fields['password'] = $this->lang->line('formPassword');
    $this->validation->set_fields($fields);
?>

It works fine in all my controllers (bambooinvoices dictat :-))


Messages In This Thread
Strange issue with validation libraries - by El Forum - 02-11-2008, 03:35 AM
Strange issue with validation libraries - by El Forum - 02-11-2008, 03:48 AM
Strange issue with validation libraries - by El Forum - 02-11-2008, 04:14 AM
Strange issue with validation libraries - by El Forum - 02-11-2008, 04:15 AM
Strange issue with validation libraries - by El Forum - 02-11-2008, 04:17 AM
Strange issue with validation libraries - by El Forum - 02-11-2008, 04:19 AM
Strange issue with validation libraries - by El Forum - 02-11-2008, 04:22 AM
Strange issue with validation libraries - by El Forum - 02-11-2008, 04:38 AM
Strange issue with validation libraries - by El Forum - 02-11-2008, 04:44 AM
Strange issue with validation libraries - by El Forum - 02-11-2008, 04:48 AM
Strange issue with validation libraries - by El Forum - 02-11-2008, 05:00 AM
Strange issue with validation libraries - by El Forum - 02-11-2008, 05:23 AM
Strange issue with validation libraries - by El Forum - 02-11-2008, 05:27 AM
Strange issue with validation libraries - by El Forum - 02-11-2008, 06:03 AM
Strange issue with validation libraries - by El Forum - 02-11-2008, 06:11 AM
Strange issue with validation libraries - by El Forum - 02-11-2008, 02:36 PM



Theme © iAndrew 2016 - Forum software by © MyBB