CodeIgniter Forums

Full Version: Show all validation errors for a form field
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.'));