Welcome Guest, Not a member yet? Register   Sign In
Validating Nullable Fields
#1

Right now CI4 validation rules fail if the field is empty. So that they only work properly when the field is required. There should be a "nullable" rule to fix this problem. (I believe Laravel does this)

Otherwise null values should not fail validation by default.

See this post https://forum.codeigniter.com/thread-685...#pid352959
Simpler is always better
Reply


Messages In This Thread
Validating Nullable Fields - by donpwinston - 04-12-2018, 08:47 PM
RE: Validating Nullable Fields - by natanfelles - 04-13-2018, 07:38 AM
RE: Validating Nullable Fields - by donpwinston - 04-13-2018, 09:39 AM



Theme © iAndrew 2016 - Forum software by © MyBB