Welcome Guest, Not a member yet? Register   Sign In
CI4 "required" rule fails despite form field has a value!
#1

Hello CI gods.
I have run into a situation with form validation in CI4.
My file upload form worked perfectly about a little while ago. The "required" validation rule fails for an image file input despite choosing an image file that conforms with my upload rules, and therefore upload fails. On submitting the upload form, the file input field errors out with "field is required" notification.
If I remove the "required" rule from my config file for the particular class/method processing upload data, the form is successfully submitted.
I have checked over and over and it's not working and I seem to not be able to figure out what the problem might be.
Any help would be greatly appreciated.
Thanks.
Reply


Messages In This Thread
CI4 "required" rule fails despite form field has a value! - by BlackBones - 11-28-2021, 01:24 PM



Theme © iAndrew 2016 - Forum software by © MyBB