Welcome Guest, Not a member yet? Register   Sign In
form_validation - questions about set_value and set_rules
#4

[eluser]Unknown[/eluser]
I use...

Code:
if ($_POST)
{
   foreach ($_POST as $key => $field)
   {
      $this->form_validation->set_rules( $key, 'No Error', 'trim');
   }
}

Hope that helps.

Greg


Messages In This Thread
form_validation - questions about set_value and set_rules - by El Forum - 11-03-2009, 09:39 PM



Theme © iAndrew 2016 - Forum software by © MyBB