Welcome Guest, Not a member yet? Register   Sign In
CI4 Validation - how use/work with calleble functions
#6

(04-18-2019, 09:37 AM)ciadmin Wrote: Agreed - the tutorial does not appear to deal with custom validation rules Sad

Not a full example, but https://codeigniter4.github.io/CodeIgnit...stom-rules

If I am understand right, that anonymous function was removed from validation library? And when i need to use ONE anonymous function in my rules (in my case) - i must create special custom class for that, which i registered in Config/Validation.php ? I think in this case it's not right way - create class for one rule...
Reply


Messages In This Thread
RE: CI4 Validation - how use/work with calleble functions - by Avega Soft - 04-19-2019, 10:06 PM



Theme © iAndrew 2016 - Forum software by © MyBB