File Validation with redirect |
Hi
I have a problem with my file (image) upload. The upload itself works fine. However, an error occurs in the validation in connection with the resulting redirect, which I cannot explain to myself. I use this redirect with all form controllers and so far it has output exactly what it should output. As an example I have attached both examples once. I have also attached the associated private function for validation. When I use form_open, everything is displayed as it should be displayed. When I change to form_open_multipart the error occurs Sorry for my bad english When I try this the statusError is shown PHP Code: if(!$this->validate($this->validation_edit_profile_image())): When I add ->with('validation', $this->validator) the statusError and the validation is not shown PHP Code: if(!$this->validate($this->validation_edit_profile_image())): PHP Code: if(!$this->validate($this->validation_edit_profile())): Private Validation Function for the Image Upload PHP Code: private function validation_edit_profile_image() PHP Code: private function validation_edit_profile() |
Messages In This Thread |
File Validation with redirect - by pyst4r1983 - 11-02-2021, 07:54 AM
RE: File Validation with redirect - by manager - 11-03-2021, 12:37 AM
RE: File Validation with redirect - by pyst4r1983 - 11-09-2021, 02:16 AM
|