Welcome Guest, Not a member yet? Register   Sign In
Validation errors and rules issue
#2

[eluser]Maglok[/eluser]
I take it you are using the Form Helper?

Could you show some more code?

Something that might be it is the order of the parameters you feed to the validate class

Code:
<?php echo form_input('soort', set_value('soort')? set_value('soort'):$row->soort); ?>

That would display an input called 'Soort' with the value that was filled out if it didn't validate or the value set from the database if it wasn't filled out.

Then in the controller
Code:
$this->form_validation->set_rules('soort', 'Soort', 'required');


Messages In This Thread
Validation errors and rules issue - by El Forum - 07-27-2010, 02:47 AM
Validation errors and rules issue - by El Forum - 07-27-2010, 04:44 AM
Validation errors and rules issue - by El Forum - 07-27-2010, 04:55 AM
Validation errors and rules issue - by El Forum - 07-27-2010, 05:50 AM
Validation errors and rules issue - by El Forum - 07-27-2010, 05:57 AM
Validation errors and rules issue - by El Forum - 07-27-2010, 06:08 AM
Validation errors and rules issue - by El Forum - 07-27-2010, 06:35 AM



Theme © iAndrew 2016 - Forum software by © MyBB