Form Validation |
I have updated to 4.3
My rules for price (float) 'price' => [ 'label' => ' ', 'rules' => 'required|numeric|greater_than[0]|less_than[1000000]' ], now i can`t pass greater_than[0]|less_than[1000000] how to pass float val?
It seems a bug in Strict Rules.
Use Traditional Rules until it is fixed. https://codeigniter4.github.io/CodeIgnit...rict-rules I sent a PR: https://github.com/codeigniter4/CodeIgniter4/pull/7098 Test it if you can. |
Welcome Guest, Not a member yet? Register Sign In |