Answers.Body: <p>turned out I'd forgotten I hardcoded the form validation options from the render tag and didn't update the validation </p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-04-07T14:11:38.123Z
Answers.LastActivityDate: 2022-04-07T14:11:38.123Z
Answers.UserDisplayName: Steven Grant
Body: <p>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.</p>
  <p>Not quite sure where that's coming from or more importantly why this is. Has anyone encountered this before?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-04-07T11:47:25.290Z
Comments.Text: 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?
Comments.UserDisplayName: John Henry Donovan
Tags: <plugin-freeform><solspace><freeform>
Title: Freeform upload size error is wrong
ThreadText: # Freeform upload size error is wrong
  
  (Asked by: username_0 on 2022-04-07)
  
  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?
  
  **Tags:** plugin-freeform, solspace, freeform
  
  > **Comments:**
  > **username_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?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2022-04-07. Score: 1
  
  turned out I'd forgotten I hardcoded the form validation options from the render tag and didn't update the validation
  
  
  ---
  
  