Welcome Guest, Not a member yet? Register   Sign In
Show all validation errors for a form field

Is there a way to show all validation errors for one form field that contains multiple rules?
The code below only shows one error if the field is not entered.

PHP Code:
form_validation->set_rules('eid''Emergency ID''required|min_length[8]|max_length[8], array('required' => 'You MUST provide an %s.', 'min_length' => 'MIN Length 8 for %s.')); 

Theme © iAndrew 2016 - Forum software by © MyBB