showing the validation error on the label instead of the input
问题 I am building a form using a model form with Django and to override the actual design for the input file, I set the input to hidden and used the label instead as a button to upload the image for the field avatar in my code, this was working fine (used this solution: https://youtu.be/4p2gTDZKS9Y) but the problem that I have faced is the field avatar is required, as the input is hidden, the validation error is not appearing as it is also hidden with the input is there any way to show the