Welcome Guest, Not a member yet? Register   Sign In
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?

(This post was last modified: 01-11-2023, 06:21 PM by kenjis.)

It seems a bug in Strict Rules.

Use Traditional Rules until it is fixed.

I sent a PR: https://github.com/codeigniter4/CodeIgniter4/pull/7098
Test it if you can.

Theme © iAndrew 2016 - Forum software by © MyBB