You would have to extend the Fuel_forms class and overwrite the clean_posted method and then somewhere in your code you'll need to overwrite it by calling the attach method on FUEL:
$form= new My_fuel_form();
$this->fuel->attach('form', $form);
Try adding your class to the fuel/application/libraries/My_fuel_form. Then in your fuel/application/config/MY_fuel.php there is a $config['attach'] parameter you can use to attach it: $config['attach'] = array(
'forms' => 'my_fuel_form'
);
thank you ive now gone down a different root. I would like to ask if it may be possible to do a multistep form in the forms module any suggestions would be grateful before i start pulling things apart
Comments
$form= new My_fuel_form(); $this->fuel->attach('form', $form);
$config['attach'] = array( 'forms' => 'my_fuel_form' );