[eluser]soupdragon[/eluser]
I am afraid i am going to have to boot this back up to the top, i was busy with another project but now back with this one.
Have tried adding my rules directly into the controller so:
#$this->form_validation->set_rules($this->config->item('seller/seller_reg'));
$config = array(
array(
'field' => 'seller_name',
'label' => 'lang
eller_name',
'rules' => 'trim|required|min_length[4]|max_length[12]|xss_clean|callback_username_check'
),
array(
'field' => 'seller_password',
'label' => 'lang
eller_password',
'rules' => 'trim|required|matches[passconf]|xss_clean'
),
array(
'field' => 'passconf',
'label' => 'lang:passconf',
'rules' => 'trim|required|xss_clean'
),
array(
'field' => 'firmname',
'label' => 'lang:firmname',
'rules' => 'trim|required|xss_clean'
),
array(
'field' => 'firstname',
'label' => 'lang:firstname',
'rules' => 'trim|required|xss_clean'
),
);
$this->form_validation->set_rules($config);
but it makes no difference.
Can someone please give me a clue where i should be looking?