[eluser]bretticus[/eluser]
No you cannot. BUT you can get post variables within your callback method.
To demonstrate:
Controller:
Code:
class Testing extends Controller
function test()
{
$this->form_validation->set_rules('one', 'One', 'trim|required|callback__test');
$this->form_validation->set_rules('two', 'Two', 'trim|required');
if ($this->form_validation->run() == FALSE) {
$this->load->view('test');
}
}
function _test($one)
{
echo "ONE: $one <br>";
echo "TWO: " . $this->input->post('two') . " <br>";
}
}
View: view.php
Code:
<html>
<head>
<TITLE>Hello</TITLE>
</head>
<body>
<?=form_open('testing/test')?>
<?=form_input('one')?>
<?=form_input('two')?>
<?=form_submit('submit', 'submit')?>
<?=form_close()?>
</body>
</html>