You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Applying the permit_empty rule within the validation of a file does not work correctly as it completely ignores the validation if the user uploads a file
Another method that could also be useful is to restrict the number of files that a user can upload in the case of using multiple files max_files[field, 3] or a minimum of min_files[field, 2]
grettings
The text was updated successfully, but these errors were encountered:
Applying the permit_empty rule within the validation of a file does not work correctly as it completely ignores the validation if the user uploads a file
Another method that could also be useful is to restrict the number of files that a user can upload in the case of using multiple files
max_files[field, 3]
or a minimum ofmin_files[field, 2]
grettings
The text was updated successfully, but these errors were encountered: