[eluser]Eric Barnes[/eluser]
I am not sure if this helps but I use one view, controller, and model for all my forms.
For the View I use form.php and include the form which sends to one controller. Then I define an action in the form: <input type="hidden" name="action" value="<?php echo $action; ?>" />
For the controller that takes the data I use:
function submit()
{
$action = $this->input->post('action', TRUE);
if($action=='modify')
{
//must be modifying
}
else
{
//must be adding data
}
}
Then inside the if else I process the data and send it to the model to insert or update.
Hope that helps.