Welcome Guest, Not a member yet? Register   Sign In
validation in the file model
#1

I need to validate files using codeigniter 4 and when placing validation rules, I also need to allow empty, but when using the "permit empty" rule it ignores all other rules.
'course' => 'permit_empty|max_size[course,2000]|ext_in[pdf,tar,zip]'
Reply


Messages In This Thread
validation in the file model - by Vitor Hugo Furtado - 11-14-2023, 06:33 AM
RE: validation in the file model - by kenjis - 11-14-2023, 05:16 PM
RE: validation in the file model - by kenjis - 11-16-2023, 03:12 PM



Theme © iAndrew 2016 - Forum software by © MyBB