I realise this request goes against the example provided in the CI documentation (which advises a separate \'success\' page view), but I would like to reutilise a given form
Pass a TRUE/FALSE variable to your views that conditionally sets the values of the form.
The Controller
if($this->form_validation->run()) { $data['reset'] = TRUE; } else { $data['reset'] = FALSE: } $this->load->view("form", $data);
The View:
" /> " />