$val = Validation::factory('user_signup'); $val->add_field('displayname', 'Display Name', 'required'); $val->run(); echo '<pre>'; var_dump($val->errors('displayname'));
It looks like you're new here. If you want to get involved, click one of these buttons!