-
|
I have a question, why when I try to save data and perform input validation, I get an error message from shield CodeIgniter\Shield\Exceptions\ValidationException. Even though the form is not related to the shield. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
|
related to: forum |
Beta Was this translation helpful? Give feedback.
-
|
I got the cause.
|
Beta Was this translation helpful? Give feedback.

I got the cause.
redirect()->withInput()orwithErrors()saves validation errors in the Session.And the check of the validation errors in Model (
checkQueryReturn()),$this->validation->getErrors()returns the errors in the Session.