且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

验证在Codeigniter中不起作用

更新时间:2023-02-06 11:48:20

当然,它将失败。您的验证规则将字段定义为必需,并且该字段甚至不存在于表单中。

Of course it will fail. Your validation rules define a 'middlename' field as required, and that field doesn't even exist in the form.

缺少字段不能满足必需的规则。

A missing field cannot satisfy a required rule.