Hi,
I've been reading a lot about how to remember a file upload after validation..
I tried setting the name of the file to a hidden field, the problem is that when you revalidate, the validation is still looking for a file.. But it doesn't exist anymore.. It has become a hidden field
Does anyonre have a solution for this? Thanks!
You could use required_without validation rule to require hidden field if image file is not uploaded, and vice versa.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community