One of my HTTP POST parameters is currentDues[0][amountPaid]
, however, it is unclear to me how to validate that.
I tried this:
<code>'currentDues.*.amountPaid' => ['nullable', 'integer', 'numeric', 'lte:36'],
</code>
<code>'currentDues.*.amountPaid' => ['nullable', 'integer', 'numeric', 'lte:36'],
</code>
'currentDues.*.amountPaid' => ['nullable', 'integer', 'numeric', 'lte:36'],
However, when I submit with a value of 999 (ie. that’s greater than 36) I’m still getting an SQL error.
Any ideas?