validation in the file model |
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]' |
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 Vitor Hugo Furtado - 11-16-2023, 06:12 AM
RE: validation in the file model - by kenjis - 11-16-2023, 03:12 PM
|