最初のルールが検証されているかどうかを確認する方法。次に、2 番目または 3 番目のルールを確認する必要はありません。次に例を示します。
$this->form_validation->set_rules('children','Do you have children?','required');// e.g : answer no!
$this->form_validation->set_rules('son','How many sons?','required');//second rule
$this->form_validation->set_rules('daughter','How many daughter?','required');//third rule