1

having an issue with Solspace Freeform. I have a form with 2 file fields. The max file size has been increased to 20Mb, Nginx/PHP/Craft have all been increased to 20Mb too but yet when I try to upload a 10MB file, the error says the max file size is 2048Kb.

Not quite sure where that's coming from or more importantly why this is. Has anyone encountered this before?

1
  • 1
    Default max size for a Freeform upload field is const DEFAULT_MAX_FILESIZE_KB = 2048; Its expecting KB. What did you add to the Max file size in the freeform options for that field? Commented Apr 7, 2022 at 11:47

1 Answer 1

1

turned out I'd forgotten I hardcoded the form validation options from the render tag and didn't update the validation 🙈

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.