If somebody can be util, I could fix it using the function
Code:
$this->form_validation->set_data($data);
of this way:
Code:
$data = array(
'GatewayIdOne' => $GatewayId,
'GatewayIdTwo' => $GatewayId
);
$this->form_validation->set_data($data);
$this->form_validation->set_rules('GatewayIdOne', 'GatewayIdOne', 'is_unique[tab_expense.tab_gateway_id]');
$this->form_validation->set_rules('GatewayIdTwo', 'GatewayIdTwo', 'is_unique[tab_income.tab_gateway_id]');
Now when run the form check return correct, thank you,
PD: If some guru can suggest if is that correct way to do this or not I will be grateful, regards.