I think I have my answer but please confirm
To get the list of errors back you must use :
$vars['errors'] = $this->quiz_details_model->get_errors();
Is that correct ?
Or should i use :
$vars['error'] = $this->quiz_details_model->get_…
I tried to use add_validation() and i managed to make it work.
With that done, how am i supposed to know what validation step failed and how can I display back the form with error messages ?
Is there something special to be in the view for error m…
To validate my data, should I use add_validation() or am I supposed to use the validator class ?
http://www.getfuelcms.com/user_guide/libraries/validator
Yeah indeed it wasn't obvious to a newbie like me.
Is the code below correct Lance ? $this->form_builder->form_attrs = array('method' => 'get', 'action' => 'submit');
Here is what i managed to do so far :
I created a model for my quiz details <?php if (!defined('BASEPATH')) exit('No direct script access allowed'); require_once(FUEL_PATH.'models/base_module_model.php'); class Quiz_details_model extends Base…
I'm glad i could help and thanks for you quick answer !
Now i have another issue.
When I create a simple module, I can edit my table data via the admin.
I guess FUEL creates automatically forms to edit.
But with advanced module, does fuel to tha…