How develop Model and validation |
It will be matched against a pre-defined message string (mobile). Or if you build a custom validation callback for that field and set different error messages depending of the mobile number.
But the function itself should always return true or false. But it can set different messages depending on what have failed. https://codeigniter.com/user_guide/libra...ding-rules https://codeigniter.com/user_guide/libra...on-methods |
Welcome Guest, Not a member yet? Register Sign In |